I want install QtRPT and QtRptDesigner in ubuntu 16.04 LTS for reporting using Qt5



  • Hi All,
    How to install Qtrpt and qtrpt designer in ubuntu ?


  • Moderators



  • how to bind the data of existing tableview which is connecting with database need to make a report using pdf or doc using QPrinter and QPainter give me some examples....



  • Hi ,
    after untar the file QtRpt ....after trying to install i got some errors are
    This application failed to start because it could not find or load the Qt platform plugin "xcb".

    Reinstalling the application may fix this problem.
    Aborted (core dumped)


  • Qt Champions 2016

    run it from creator.



  • i want to make qt report for my existing tableview which is connecting with mssql server 2014 in ubuntu 16.04 LTS with the help of pdf or doc or spreadsheet give me some examples ....


  • Qt Champions 2016

    @veera

    Hi QtRpt is not part of Qt .
    So we have no examples here.
    You can ask in the QtRpt forum.
    https://sourceforge.net/p/qtrpt/discussion/general/
    OR google for some.



  • okay using QPrinter or QpdfWriter i can make report from my existing tableview with sqldatabase


  • Qt Champions 2016

    yep that works quite well for hand coded rapports.



  • okay thanks for u r quick response....is there any examples for that.....even we can use doc or spreadsheet for reporting ?


  • Qt Champions 2016

    @veera
    there are many sample on the internet
    https://forum.qt.io/topic/16547/how-to-export-excel-in-qt

    this one works good
    https://github.com/OlivierDelbeke/QtXlsxWriter

    using qpainter and pdf. Not see any as its just like drawing. So any drawing example could as well be a report./ to pdf.



  • after running from the qt creator also got some errors is there way to install QtRPT and QRptDesigner from terminal i.e deb package like that?



  • Hi All,
    I want to know that which is best Qt report designer tool(free) for binding the data in qt creator application which is connected with MS SQL SERVER in Ubuntu 16.04 LTS....please guide me installation procedure and its examples ......


Log in to reply