Unsolved Make the QML window look the same across different platforms
-
I am using Qt Quick to create a window application. Window and ApplicationWindow qml type is used to create windows. But the looks of the window changes across different platforms. Is there any way so that windows look alike across all platforms?
-
You mean the title bar and the "minimize", "maximize" and "close" buttons? That part is not handled by Qt but by the operating system.
The only way to get around it is to disable the title bar and construct it by hand. See https://doc.qt.io/qt-5/qml-qtquick-window-window.html#flags-prop, especially
Qt::FramelessWindowHint
. You'll need to handle various window events yourself though, as this flag disables the native handling.