QML button to print Sqlite db form
-
Hello guys,
Any one know how can I print the db from qml button?
I did project following local storage from QT but now my db is fill out and I would like go far away with make form probably in js and make pdf with button on my qml page.Thank you for your help
-
Hi
I think you have to use c++
(unleass they added it later)
https://forum.qt.io/topic/57861/solved-how-to-take-a-print-in-qml -
Hi
I think you have to use c++
(unleass they added it later)
https://forum.qt.io/topic/57861/solved-how-to-take-a-print-in-qml -
Hi
In that sample they print image but its the same way you print your form by accessing the data
and "draw" it on printer object as pdf or paper. -
Hi
In that sample they print image but its the same way you print your form by accessing the data
and "draw" it on printer object as pdf or paper.@mrjj said in QML button to print Sqlite db form:
Hi
In that sample they print image but its the same way you print your form by accessing the data
and "draw" it on printer object as pdf or paper.You can also be interested with this wiki , it's about printing a QTextDocument to PDF !