The fullscreen is set by calling the showFullScreen() method of QQuickView class which is inherited from QWindow (http://qt-project.org/doc/qt-5.0/qtg...showFullScreen).
A minimal example of code :
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QQuickView viewer;
viewer.setSource("... a qml file ...");
viewer.showFullScreen();
return app.exec();
}
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QQuickView viewer;
viewer.setSource("... a qml file ...");
viewer.showFullScreen();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
When the app loose the focus (for example when doing Control + Escape) and it get the focus back after, the app doesn't repaint itself. The render is not updated anymore.
Bookmarks