Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QMainWindow skin for frame
pomestnik last edited by pomestnik
Hello i am using QT for creating multi-platform application. How can i set image-frame for my main window. Like this:
@pomestnik Do you mean the window decoration? You can't do this with Qt as it is outside of the scope of Qt. You will need to use platform specific APIs.
pomestnik last edited by
yep.. i mean window-skin (decoration). The skin system like in winamp\aimp audio players for example, but only for QMainWindow frame. Elements inside will be styled with qss stylesheet.
I don't want using platform specific APIs because it's multi-platform application...
@pomestnik As I said: you can't do that with Qt.
Only option is to use Qt::FramelessWindowHint and make fake borders and handle all move/resize yourself.
However, its not really recommended.