i was create pdf from qt-c++....now i have gui in qml ...i want to send this gui to create as pdf ..
Great idea. What's your question?
try something like this:
if(printDialog.exec() == QDialog::Accepted)
or if you use Qt 5 you can use "QPdfWriter":http://qt-project.org/doc/qt-5.0/qtgui/qpdfwriter.html:
thank you for your reply Andre,
i have gui in qml...i want to print this gui as pdf....how to send this gui to this painter