[Qt 5 / Qt Quick 2.0] Nice way for a Transparent Window
QML and Qt Quick
1
Posts
1
Posters
2.2k
Views
1
Watching
-
The nice old way to get a transparent window in qt 4.8 was simply:
@viewer.setAttribute(Qt::WA_OpaquePaintEvent);
viewer.setAttribute(Qt::WA_NoSystemBackground);
viewer.viewport()->setAttribute(Qt::WA_OpaquePaintEvent);
viewer.viewport()->setAttribute(Qt::WA_NoSystemBackground);
@
But since Qt 5 this wont work any more (has no member named ...).
A workaround made billouparis in this post: http://qt-project.org/forums/viewthread/18984But is there a better way to achieve this?
greez
Eli