Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41489

Android: folderlistmodel and settings not automatically detected as dependencies

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.0 Beta
    • 5.4.0 Beta
    • QPA
    • None
    • Android
    • declarative: 3ec6520117ffde0dfa2e029ca3214986506c54d8 564c1038d1645d76004ad93651aa392d71d45490 b9f143945982ae1775c69b9a09dc5e3912a17324; qtquickcontrols: d8b9259b90e3d51f96e0436001edc5ac20854f14

    Description

      When running the gallery example in the latest Qt 5.4.0 beta package, you get the following errors:

      W/Qt      ( 1965): qml\qqmlapplicationengine.cpp:126 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject*)): qrc:/main.qml:68 Type FileDialog unavailable
      W/Qt      ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.folderlistmodel" is not installed
      W/Qt      ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:49 module "Qt.labs.settings" is not installed
      W/Qt      ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:48 module "Qt.labs.folderlistmodel" is not installed
      W/Qt      ( 1965): qrc:/QtQuick/Dialogs/DefaultFileDialog.qml:49 module "Qt.labs.settings" is not installed
      

      This should be automatic since qmlimportscanner is used to detect dependencies, but for some reason it does not work. Adding these imports to the main.qml is a workaround, so it looks like qmlimportscanner is failing to detect the dependencies of DefaultFileDialog.qml (which is probably dynamically selected.)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              srutledg Shawn Rutledge
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes