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. Simple print report
Qt 6.11 is out! See what's new in the release blog

Simple print report

Scheduled Pinned Locked Moved General and Desktop
17 Posts 8 Posters 12.6k Views 3 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Can you advise me about a simple print report, just for create a report with a designer and print it? (with source)

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    T 1 Reply Last reply
    0
    • Z Offline
      Z Offline
      Zarko Markovic
      wrote on last edited by
      #2

      I would use QWebView and QWebView::print. Styling the report would be much easier this way.

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Ok, is a good idea but, I need to have a footer and, if I have to print an image, the image have to be completely in a page.

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

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

          Open Source:
          http://www.xtuple.com/openrpt/
          http://sourceforge.net/projects/exaro/

          Commercial:
          http://www.kdab.com/kd-reports
          http://www.nocisoft.com/products.html

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zarko Markovic
            wrote on last edited by
            #5

            [quote author="mrdebug" date="1359146954"]Ok, is a good idea but, I need to have a footer and, if I have to print an image, the image have to be completely in a page.[/quote]

            To keep the images in one file with the report document you can output/print the webpage in PDF format. Check out the docs, PDF support is built in. For more complex reports that contain charts etc check out the suggestions by mbnoimi.

            1 Reply Last reply
            0
            • mrdebugM Offline
              mrdebugM Offline
              mrdebug
              wrote on last edited by
              #6

              Thanks for your reply. Have you got a little example about how to show the designer and about how to print something with exaro?

              Need programmers to hire?
              www.labcsp.com
              www.denisgottardello.it
              GMT+1
              Skype: mrdebug

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mbnoimi
                wrote on last edited by
                #7

                [quote author="mrdebug" date="1359322884"]Thanks for your reply. Have you got a little example about how to show the designer and about how to print something with exaro?[/quote]

                eXaro available as standalone and embedded designer so you can design your report then save it as xml file.

                any way, I didn't use it before since I'm using OpenRPT because I'm not sure it's alive project.

                1 Reply Last reply
                0
                • mrdebugM Offline
                  mrdebugM Offline
                  mrdebug
                  wrote on last edited by
                  #8

                  I have compiled Exaro but I can't use it because I not find any example about show the designer and other.
                  Now I'm trying to compile OperRTP version 3.3.0 but I obtain this error:

                  /home/denis/Download/openrpt-3.2.2-source/common/login.h:30: error: tmp/ui_login.h: No such file or directory

                  Have you got any idea?

                  Need programmers to hire?
                  www.labcsp.com
                  www.denisgottardello.it
                  GMT+1
                  Skype: mrdebug

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mbnoimi
                    wrote on last edited by
                    #9

                    [quote author="mrdebug" date="1359391032"]I have compiled Exaro but I can't use it because I not find any example about show the designer and other.
                    Now I'm trying to compile OperRTP version 3.3.0 but I obtain this error:

                    /home/denis/Download/openrpt-3.2.2-source/common/login.h:30: error: tmp/ui_login.h: No such file or directory

                    Have you got any idea?[/quote]

                    Try to use binary version of OpenRPT from PostBook installer.

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

                      Simple qt report engine with designer is QtRPT https://sourceforge.net/projects/qtrpt/

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

                        You can use "http://www.kdab.com/kd-reports":http://www.kdab.com/kd-reports with GPL license. Unfortunately it hasn't a designer.

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

                          Fresh version QtRPT and QtRptDesigner 1.5.1
                          https://www,qtrpt.tk

                          1 Reply Last reply
                          0
                          • mrdebugM mrdebug

                            Can you advise me about a simple print report, just for create a report with a designer and print it? (with source)

                            T Offline
                            T Offline
                            TEHb
                            wrote on last edited by
                            #13

                            @mrdebug, look at Lime Report - open-source Qt library and report engine with embedded designer.

                            1 Reply Last reply
                            0
                            • mrdebugM Offline
                              mrdebugM Offline
                              mrdebug
                              wrote on last edited by
                              #14

                              Seems to be great.
                              Are you using it from much times? I started to write a own print report engine with a print report designer. Now I can print tables, pdf, images, text in multiple pages. I will decide to use it or the own.

                              Need programmers to hire?
                              www.labcsp.com
                              www.denisgottardello.it
                              GMT+1
                              Skype: mrdebug

                              A 1 Reply Last reply
                              0
                              • mrdebugM mrdebug

                                Seems to be great.
                                Are you using it from much times? I started to write a own print report engine with a print report designer. Now I can print tables, pdf, images, text in multiple pages. I will decide to use it or the own.

                                A Offline
                                A Offline
                                aliks-os
                                wrote on last edited by
                                #15

                                @mrdebug
                                I develop and use QtRPT more than 3 years. If you have some free time, you may to continue your own

                                1 Reply Last reply
                                1
                                • mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  thank you for your efforts. It looks really cool.

                                  1 Reply Last reply
                                  0
                                  • AlexA Offline
                                    AlexA Offline
                                    Alex
                                    wrote on last edited by
                                    #17

                                    CuteReport has both opensource and proprietary professional version. Take a look.
                                    https://sourceforge.net/projects/qreport/

                                    https://cute-report.com

                                    1 Reply Last reply
                                    1

                                    • Login

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