Remove window Icon
-
I want to remove the default icon in qt window.
I have tried setting flags like this->setWindowFlags(Qt::Tool | Qt::WindowTitleHint | Qt::WindowCloseButtonHint) this removes the icon but changes the default close button on the tip right and also deactivate the window.
In order to keep the window activated if i use activate window then my qwidget gets hidden.I also tried setting an empty logo /transparent logo but there is space left before the title .
Is there any way to remove the logo retaining the title and close button?? -
Hi
As far as I know, its not possible as its an OS thing and outside of Qt.
But try the Windows Flag example
https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.htmland see if there is a combi that suits your requirements.