Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT's qdialog turn to black when set to transparent while running in linux (debian 9) without a desktop
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 234 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cyberpunker
    wrote on 21 Sept 2019, 04:44 last edited by aha_1980
    #1

    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 ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 21 Sept 2019, 08:28 last edited by
      #2

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

      1 Reply Last reply
      0

      1/2

      21 Sept 2019, 04:44

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved