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

QT's qdialog turn to black when set to transparent while running in linux (debian 9) without a desktop



  • I am making a QT program which wil be deployed in a debian 9 . This linux os was installed WITHOUT a desktop !

    So ,there are some wired things happen about my Qt app's behavior.

    Today , I try to set a qdialog to transparet by rewrite the paintEvent function . I constructed a qpainter ,and set the alpha as 0 , but the transparent part show as black .

    what's the problem ?


  • Lifetime Qt Champion

    Hi
    what windows manager are you then running ?
    And is it still X11 ?


Log in to reply