Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

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

$
0
0
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

Viewing all articles
Browse latest Browse all 4972

Trending Articles