Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick.Dialogs is missing Qt 6.1.3 / Qt 6.2.0
Forum Updated to NodeBB v4.3 + New Features

QtQuick.Dialogs is missing Qt 6.1.3 / Qt 6.2.0

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 623 Views 2 Watching
  • 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.
  • F Offline
    F Offline
    frank_wue
    wrote on last edited by
    #1

    I actually have a problem with QtQuick developement. For the app I have to use the module QtQuick.Dialogs 1.2 for a MessageDialog. Here is my system configuration:

    • Kernel: 5.4.0-94-generic x86_64 bits: 64
    • compiler: gcc v: 9.3.0 Desktop: Xfce 4.16.0
    • tk: Gtk 3.24.20
    • Distro: Linux Mint 20.3 Una
    • base: Ubuntu 20.04 focal

    Using Qt Creator 4.15.0 and Android Qt 6.1.3 Clang armeabi-v7a kit. My target device is a Samsung A5 (2016) which has support for armeabi-v7a and armeabi. Here is a code-snippet from the MessageDialog:

    import QtQuick.Dialogs 1.2
    
    MessageDialog {
                id: msgDialog
                title: "Titel"
                text: "Hinweistext"
            }
    

    While compiling I get an error as follows:
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Dialogs

    Nethertheless, I can install the app on my phone, but when I try to open it, it crashs.
    Any ideas how I can download and install the missing module? The same problem I have when using
    Android Qt 6.2.0 Clang armeabi-v7a kit.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I think it's not available in Qt 6, but the one from Labs should work: https://doc.qt.io/qt-6/qml-qt-labs-platform-messagedialog.html

      (Z(:^

      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