Qt5.15.14 does not display the title bar on the linuxfb platform
-
Hi,
Can anyone please help me to fix this problem.
When using Qt 5.15.14, the title bar properties were set, but the title bar does not display when running on the LinuxFB platform.The code for the settings is as follows.
this->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
-
Hi,
Can anyone please help me to fix this problem.
When using Qt 5.15.14, the title bar properties were set, but the title bar does not display when running on the LinuxFB platform.The code for the settings is as follows.
this->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
-
@Leyu You are overwriting flags, you should instead add them to already set flags (windowFlags())
@jsulm It still doesn't show up after changing the code, I suspect it has something to do with the linuxfb platform. Is there any other better way.
The code change is as follows.
this->setWindowFlags(this->windowFlags() | Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
-
Hi,
Unless you are running a window manager on top of LinuxFB, there will be no window decoration.
-
Hi,
Unless you are running a window manager on top of LinuxFB, there will be no window decoration.
-
@jsulm Sorry, I've just come into contact with Qt for a short time, so I don't know the window manager very well.
-
Hi,
Can anyone please help me to fix this problem.
When using Qt 5.15.14, the title bar properties were set, but the title bar does not display when running on the LinuxFB platform.The code for the settings is as follows.
this->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);