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

Can't find QtQuick.Controls 2 on Android

    XMLWordPrintable

Details

    Description

      Here's the debug information with some additional I added. Including QT_DEBUG_PLUGINS and QML_IMPORT_TRACE.

      Seems to look for it in the data path instead of lib.

      I can include the apk if that helps.

      01-23 03:42:21.718 23046 23067 D kalgebramobile: qml/qqmlimport.cpp:1804 (void QQmlImportDatabase::addImportPath(const QString &)): QQmlImportDatabase::addImportPath: "/home/apol/android/qt5/qtbase/qml"
      01-23 03:42:21.718 23046 23067 D kalgebramobile: qml/qqmlimport.cpp:1804 (void QQmlImportDatabase::addImportPath(const QString &)): QQmlImportDatabase::addImportPath: "/data/user/0/org.kde.kalgebramobile/qt-reserved-files//qml"
      01-23 03:42:21.718 23046 23067 D kalgebramobile: qml/qqmlimport.cpp:1804 (void QQmlImportDatabase::addImportPath(const QString &)): QQmlImportDatabase::addImportPath: "qrc:/qt-project.org/imports"
      01-23 03:42:21.718 23046 23067 D kalgebramobile: qml/qqmlimport.cpp:1804 (void QQmlImportDatabase::addImportPath(const QString &)): QQmlImportDatabase::addImportPath: "/data/app/org.kde.kalgebramobile-1/lib/arm"
      01-23 03:42:21.734 23046 23067 D kalgebramobile: qml/qqmlimport.cpp:1804 (void QQmlImportDatabase::addImportPath(const QString &)): QQmlImportDatabase::addImportPath: "/data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins"
      01-23 03:42:21.737  4893 22440 D ActivityManager: cleanUpApplicationRecord -- 22523
      01-23 03:42:21.739 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1577 (bool QQmlImports::addLibraryImport(QQmlImportDatabase *, const QString &, const QString &, int, int, const QString &, const QString &, bool, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::addLibraryImport: "QtQuick" 2.2 as ""
      01-23 03:42:21.739 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:967 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::importExtension: loaded "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/qmldir"
      01-23 03:42:21.739 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1002 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): xxxxxxx "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2" "" "qtquick2plugin"
      01-23 03:42:21.739 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1675 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): searching... (".") "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2" ""
      01-23 03:42:21.739 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1701 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): trying... "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so" "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so"
      01-23 03:42:21.740 23046 23069 W kalgebramobile: plugin/qlibrary.cpp:314 (bool findPatternUnloaded(const QString&, QLibraryPrivate*)): Found metadata in lib /data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so, metadata=
      01-23 03:42:21.740 23046 23069 W kalgebramobile: {
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "MetaData": {
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     },
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "className": "QtQuick2Plugin",
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "debug": true,
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "uri": [
      01-23 03:42:21.740 23046 23069 W kalgebramobile:         "QtQuick.2"
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     ],
      01-23 03:42:21.740 23046 23069 W kalgebramobile:     "version": 329729
      01-23 03:42:21.740 23046 23069 W kalgebramobile: }
      01-23 03:42:21.740 23046 23069 W kalgebramobile: 
      01-23 03:42:21.740 23046 23069 W kalgebramobile: 
      01-23 03:42:21.740 23046 23069 W linker  : /data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unused DT entry: type 0xf arg 0x57e
      01-23 03:42:21.741 23046 23069 D kalgebramobile: plugin/qlibrary.cpp:541 (bool QLibraryPrivate::load()): loaded library "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so"
      01-23 03:42:21.741 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1872 (bool QQmlImportDatabase::registerPluginTypes(QObject *, const QString &, const QString &, const QString &, int, QList<QQmlError> *)): QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick.2"
      01-23 03:42:21.762 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1577 (bool QQmlImports::addLibraryImport(QQmlImportDatabase *, const QString &, const QString &, int, int, const QString &, const QString &, bool, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::addLibraryImport: "QtQuick.Layouts" 1.2 as ""
      01-23 03:42:21.762 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:967 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::importExtension: loaded "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/qmldir"
      01-23 03:42:21.762 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1002 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): xxxxxxx "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts" "" "qquicklayoutsplugin"
      01-23 03:42:21.762 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1675 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): searching... (".") "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts" ""
      01-23 03:42:21.762 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1701 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): trying... "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so" "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so"
      01-23 03:42:21.763 23046 23069 W kalgebramobile: plugin/qlibrary.cpp:314 (bool findPatternUnloaded(const QString&, QLibraryPrivate*)): Found metadata in lib /data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so, metadata=
      01-23 03:42:21.763 23046 23069 W kalgebramobile: {
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "MetaData": {
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     },
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "className": "QtQuickLayoutsPlugin",
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "debug": true,
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "uri": [
      01-23 03:42:21.763 23046 23069 W kalgebramobile:         "QtQuick.Layouts"
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     ],
      01-23 03:42:21.763 23046 23069 W kalgebramobile:     "version": 329729
      01-23 03:42:21.763 23046 23069 W kalgebramobile: }
      01-23 03:42:21.763 23046 23069 W kalgebramobile: 
      01-23 03:42:21.763 23046 23069 W kalgebramobile: 
      01-23 03:42:21.763 23046 23069 W linker  : /data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so: unused DT entry: type 0xf arg 0x1d3d
      01-23 03:42:21.765 23046 23069 D kalgebramobile: plugin/qlibrary.cpp:541 (bool QLibraryPrivate::load()): loaded library "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so"
      01-23 03:42:21.765 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1872 (bool QQmlImportDatabase::registerPluginTypes(QObject *, const QString &, const QString &, const QString &, int, QList<QQmlError> *)): QQmlImportDatabase::registerPluginTypes: "QtQuick.Layouts" from "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Layouts"
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1577 (bool QQmlImports::addLibraryImport(QQmlImportDatabase *, const QString &, const QString &, int, int, const QString &, const QString &, bool, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::addLibraryImport: "QtQuick.Controls" 2.1 as ""
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:967 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): QQmlImports(file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml)::importExtension: loaded "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Controls.2/qmldir"
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1002 (bool QQmlImportsPrivate::importExtension(const QString &, const QString &, int, int, QQmlImportDatabase *, const QQmlTypeLoader::QmldirContent *, QList<QQmlError> *)): xxxxxxx "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Controls.2" "" "qtquickcontrols2plugin"
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1675 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): searching... (".") "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Controls.2" ""
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1701 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): trying... "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Controls.2/libqtquickcontrols2plugin.so" ""
      01-23 03:42:21.767 23046 23069 D kalgebramobile: qml/qqmlimport.cpp:1708 (QString QQmlImportDatabase::resolvePlugin(QQmlTypeLoader *, const QString &, const QString &, const QString &, const QStringList &, const QString &)): QQmlImportDatabase::resolvePlugin: Could not resolve plugin "qtquickcontrols2plugin" in "/data/data/org.kde.kalgebramobile/qt-reserved-files/qml/QtQuick/Controls.2"
      01-23 03:42:21.768 23046 23067 W kalgebramobile: qml/qqmlapplicationengine.cpp:132 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject *)): QQmlApplicationEngine failed to load component
      01-23 03:42:21.768 23046 23067 W kalgebramobile: qml/qqmlapplicationengine.cpp:133 (void QQmlApplicationEnginePrivate::_q_finishLoad(QObject *)): file:///data/data/org.kde.kalgebramobile/qt-reserved-files/share/kalgebramobile/plugins/widgets/KAlgebraMobile.qml:3 module "QtQuick.Controls" plugin "qtquickcontrols2plugin" not found
      

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            apol Aleix Pol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes