Is there a way to make the window of a qml application transparent?
I’m looking for a detailed description on how to draw simple shapes with qml while making the window of the application transparent, as well as the background. A working source code demo would be awesome.
I finally found a simple way to draw a couple of red/blue rectangles while leaving the window transparent.
draw_rectangles.qml
win.cpp:
win.pro:
Save these files to the same directory and execute
qmakefollowed bymaketo compile the application.