Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Centos 7 qt issues



  • Hi,

    I have some qt code that works perfectly fine on Windows. But the same code when I run it under centos 7, the window I run the code disappears. It happens when I execute any of these functions:

    myQtWindow.setWindowFlags(myQtWindow.windowFlags() | QtCore.Qt.Tool | QtCore.Qt.X11BypassWindowManagerHint)

    myQtWindow.setWindowOpacity(0.9)

    So it's not necessarily only transparency related.

    Also the window disappears but the qt handle can still be retrieved so the window is not destroyed.

    Qt support is provided under PySide2 if that makes a difference.

    Are there known qt issues like this on Centos 7, and if so how can I fix these?

    All the code I have does is to make the window transparent so I can see beneath the window, that's it. Beyond that I use masks to hide some parts but without the above code working, it's a dead end.

    Thanks a lot in advance.


  • Lifetime Qt Champion

    @lachdanan said in Centos 7 qt issues:

    networkEditor.windowFlags()

    Shouldn't it be myQtWindow.windowFlags() ?



  • Sorry I forgot to replace it. In the original code they are all called networkEditor.


Log in to reply