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
↧