Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.7 - MessageDialog fall back to DefaultMessageDialog.qml in case of iOS not working.
QtWS25 Last Chance

Qt5.7 - MessageDialog fall back to DefaultMessageDialog.qml in case of iOS not working.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 454 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pankaj Kalra
    wrote on last edited by
    #1

    Hi,

    Recently we have been trying to compile our existing mobile app
    (previously developed and built using Qt 5.5.1) using Qt5.7.

    While doing this, the MessageDialog functionality has stopped working
    , when deploying the app to iOS device.

    According to the MessageDialog documentation provided in
    http://doc.qt.io/qt-5/qml-qtquick-dialogs-messagedialog.html :

    " The implementation of MessageDialog will be a platform message dialog
    if possible. If that isn't possible, then it will try to instantiate a
    QMessageBox. If that also isn't possible, then it will fall back to a QML
    implementation, DefaultMessageDialog.qml. In that case you can customize the
    appearance by editing this file. "

    In our iOS deployment we relied upon the fall back to the DefaultMessageDialog.qml
    file, which was available at the location "~/Qt5.5.1/5.5/ios/qml/QtQuick/Dialogs/DefaultMessageDialog.qml"
    in Qt5.5.1 . But now while deploying the app on iOS device using Qt5.7 the MessageDialog doesn't work.
    The reason we feel behind this is the absence of the DefaultMessageDialog.qml at location
    "~/Qt5.7/5.7/ios/qml/QtQuick/Dialogs/" in Qt5.7 installation. In fact, there is no .qml file
    available at the mentioned location. Also, not able to find DefaultMessageDialog.qml
    file anywhere under ~/Qt5.7/5.7/ios/ .

    NOTE: The MessageDialog works fine on the desktop, as the file
    "~/Qt5.7/5.7/clang_64/qml/QtQuick/Dialogs/DefaultMessageDialog.qml" exists.

    Kindly, also suggest if there is some deflection in my understanding, or if i
    am missing some feature in Qt 5.7.

    Would be really grateful for help. Thanks in advance.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved