Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Qt 5 / Qt Quick 2.0] Nice way for a Transparent Window
-
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