Qt 6.11 is out! See what's new in the release
blog
Qt creator application not fitting to the windows tablet screen
-
Hi,
I am trying to run a qt application which was pre-designed and used the code to modify the application based on my desktop and tablet settings, however it's not running. Can anyone tell me the solution?
@qt121 Hi could you please be a little more explicit about the problem ? What do you mean by "based on my desktop and tablet settings" ? What do you mean that it is "not fitting to the windows tablet screen" ? Do you mean you want fullscreen ?
first : QtQuick or QtWidget ?
assuming this is what you want
- QtWidget : do window->showMaximized() ;
- QtQuick with window instanciated on C++ side with QQuickWindow : exactly as in QtWidget case
- QtQuick with window instanciated on QML side (only QQmlEngine on C++ side) :
Window { id: mainWindow // other stuff Component.onCompleted: showMaximized() }showFullScreen is also available in all cases