I’m trying to make a drag-able splash screen in QML. I would be open to using a C++ method as well.
Window {
visible: true
width: 792
height: 569
color: "transparent"
flags: Qt.SplashScreen
Image {
anchors.fill: parent
source: "background.png"
}
}
I want to be able to drag that background around the screen, as if it was a normal window with a toolbar. Is there any way to do this? I found this: http://qt-project.org/forums/viewthread/39748. But the answer from that thread doesn’t work.
Anyone?
↧