Important: Please read the Qt Code of Conduct -

Preferred way of displaying a message

  • Hi guys!

    I'm interested, what is the best way of displaying a message to the user in Android and iOS?

    On the desktop I can use:

    @ var component = Qt.createComponent("MessageWindow.qml");
    win = component.createObject(screen);;@

    Where MessageWindow is a QtQuick.Window or an ApplicationWindow with StatusBar.

    Will this work on mobile (at the moment I'm not able to check that..)?
    Or is there some other preferred way to do it?
    Maybe displaying as a notification as well?

Log in to reply