[quote author="Chuck.Gao" date="1309355528"]So you understand your qml view is in a QMainWindow based class. If you want to drag and move your window, it's actually need moving your mainWindow. So the way to do this is:

Have a mouseArea in your titlebar

When pressed and mousePositionChanged, emit the a signal to your mainWindow, and let your mainWindow to handle the moving staff.