Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Transparent QQuickView on Windows 7, works with Qt5.0.2 but broken on Qt5.1
Qt 6.11 is out! See what's new in the release blog

Transparent QQuickView on Windows 7, works with Qt5.0.2 but broken on Qt5.1

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.5k 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.
  • D Offline
    D Offline
    diorahman
    wrote on last edited by
    #1

    Hi!

    I have this effort on creating transparent window in fullscreen for QML apps (running on Windows 7 with aero enabled). I'm using this combination of

    @viewer.setColor(QColor(Qt::transparent))@

    as denoted in: https://github.com/diorahman/qt5-playground-transparent-windows/blob/master/main.cpp#L11-L16 and

    @DwmEnableBlurBehindWindow@

    as outlined in: https://github.com/diorahman/qt5-playground-transparent-windows/blob/master/qtquick2applicationviewer/qtquick2applicationviewer.cpp#L75-L84

    It actually works well on Qt5.0.2 but it's broken on Qt5.1 ; what's the catch? Is there a new way to 'host' QQuickView in Qt5.1?

    However, if I change,

    @showFullscreen()@

    to

    @show()@

    at this line: https://github.com/diorahman/qt5-playground-transparent-windows/blob/master/qtquick2applicationviewer/qtquick2applicationviewer.cpp#L75 it works, but I need the app to be fullscreen

    Thanks

    Dhi

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Please "file bug reports":https://bugreports.qt-project.org/ about regressions. Bugreports will be seen by the developer, while it takes a bit of luck for the issue to get noticed here.

      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