Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Printing
Qt 6.11 is out! See what's new in the release blog

Printing

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mmallad
    wrote on last edited by
    #1

    What is the best way to print data from database from qt code.

    Dpak Malla

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wakeuky
      wrote on last edited by
      #2

      I feel like this is a fairly broad question - to give you a broad answer, you will need to firstly connect to the database and then query the database to fetch the desired data.

      I believe you posted a few days ago about building/configuring the QMYSQL DB plugin driver, correct? Thus, I assume you will be "printing" data from a MySQL database or some other form of SQL database.

      Within the source files "..\Qt5.0.1\5.0.1\Src\qtbase\examples\sql" there are several SQL examples provided.

      I do not really know how to answer your question further, maybe you could explain where you are stuck?

      Don't Panic

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        I think mmallad ask about reports.
        There are several report engines:
        "KDReport":http://www.kdab.com/kdab-products/ - i use it for my aps. It's free for opensource projects
        "NCReport":http://ncreport.sourceforge.net/
        "qt-apps":http://qt-apps.org/index.php?xcontentmode=4240 - there are many solutions

        i hope it helps :)

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mmallad
          wrote on last edited by
          #4

          Ya I was asking for reporting. Thank You so much
          [quote author="qxoz" date="1362548053"]I think mmallad ask about reports.
          There are several report engines:
          "KDReport":http://www.kdab.com/kdab-products/ - i use it for my aps. It's free for opensource projects
          "NCReport":http://ncreport.sourceforge.net/
          "qt-apps":http://qt-apps.org/index.php?xcontentmode=4240 - there are many solutions

          i hope it helps :)[/quote]

          Dpak Malla

          1 Reply Last reply
          0
          • A Offline
            A Offline
            aliks-os
            wrote on last edited by
            #5

            You may try QtRPT
            "Your text to link here...":https://sourceforge.net/projects/qtrpt/?source=navbar

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved