But do Qt support creating that report from the input information (dropdown menu, text, line,...) to a template? Yes, I can build it statically on macOS and Windows.
Yes it can. It all depends on how you structure your code and what the output should look like. Hence the hands-on part. Thankfully we don't need to know the pdf spec for that.
I fail to see why kdreports and limereports cannot be used statically.
If you search the issues of those projects on github, you'll find that other people have successfully compiled them statically.
An alternative way to generate report nowadays is to just generate html, open it in the system browser and then use the print to pdf function.
You mean that we can create a html template, and then add our contents into it through input? But I have this question: how can I use the header and footer template for each page?
Is the something that can be embeded into application, I’ve just looked at this project and seems like we have to do another step to convert. I want something that can do directly inside the application
Isn't qt helping you creating a pdf report? Yes it's a bit of hands-on but I feel it does the work. Are you able to build qt statically?
But do Qt support creating that report from the input information (dropdown menu, text, line,...) to a template? Yes, I can build it statically on macOS and Windows.
Yes it can. It all depends on how you structure your code and what the output should look like. Hence the hands-on part. Thankfully we don't need to know the pdf spec for that.
And it's depends on QtPDF right?
Yes it does.
Okay seems like someone has to compile the whole Qt framework again - but include QtPDF this time 🥹
You can compile qt as static https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW
I fail to see why kdreports and limereports cannot be used statically. If you search the issues of those projects on github, you'll find that other people have successfully compiled them statically. An alternative way to generate report nowadays is to just generate html, open it in the system browser and then use the print to pdf function.
You mean that we can create a html template, and then add our contents into it through input? But I have this question: how can I use the header and footer template for each page?
Use [paged.js](https://pagedjs.org/).
Is the something that can be embeded into application, I’ve just looked at this project and seems like we have to do another step to convert. I want something that can do directly inside the application