Reputation: 306
I have designed a sales receipt with Qt Quick and I want to print it with the printer.
How can I do this?
Here is my main.cpp
QtQuick2ApplicationViewer viewer;
viewer.setMainQmlFile(QStringLiteral("qml/Caisse-MBM/main.qml"));
viewer.showFullScreen();
Upvotes: 6
Views: 3979