Simple print report
-
I would use QWebView and QWebView::print. Styling the report would be much easier this way.
-
-
[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.
-
[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.
-
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 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.
-
Simple qt report engine with designer is QtRPT https://sourceforge.net/projects/qtrpt/
-
You can use "http://www.kdab.com/kd-reports":http://www.kdab.com/kd-reports with GPL license. Unfortunately it hasn't a designer.
-
thank you for your efforts. It looks really cool.
-
CuteReport has both opensource and proprietary professional version. Take a look.
https://sourceforge.net/projects/qreport/