Qt World Summit: Submit your Presentation

How to rotate message dialog in qml??

  • I want to rotate message dialog i.e. popup box in qml.But I dont get any option from qt document?

  • Hi! As you posted this in "General and Desktop", I assume you're targeting desktop Windows, Linux or MacOS. On these platforms QtQuick windows are wrapped inside native windows. AFAIK non of the desktop platforms supports rotating windows. What you could do, is implementing a "fake" window inside the QtQuick scene by using a rectangle item. You could then apply arbitrary transformations to such an item. Out of curiosity: Why do you want to rotate a window in the first place?

Log in to reply