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. Frameless window can't contain Opengl context?

Frameless window can't contain Opengl context?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 1.4k 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.
  • B Offline
    B Offline
    billconan
    wrote on last edited by
    #1

    Hello,

    I'm upgrading a project from Qt 4.8.5 to Qt 5.2.1, I saw a problem with frameless window and opengl context.
    basically the frameless window will become completely transparent, while the opengl widget can still be seen.

    I'm aware of an old issue of Qt4.8.5, when you create a frameless window to hold an opengl widget, the frameless window cannot be transparent.

    how do I solve this problem, is this a bug in Qt, or is this because I haven't set the right window flags.

    here is what I'm setting:

    Qt::FramelessWindowHint | Qt::WindowSystemMenuHint| Qt::WindowMinimizeButtonHint

    We have to use frameless window and opengl.

    Thanks,

    1 Reply Last reply
    0
    • B Offline
      B Offline
      billconan
      wrote on last edited by
      #2

      found a Qt bug https://bugreports.qt-project.org/browse/QTBUG-34376

      which may explain what happened.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        billconan
        wrote on last edited by
        #3

        I believe this is a QT bug, filed one here with a repro program

        https://bugreports.qt-project.org/browse/QTBUG-38033

        1 Reply Last reply
        0

        • Login

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