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

REG: qmlimportscanner no longer works at all

    XMLWordPrintable

Details

    • Android
    • 61716e2bbcc62d7447b4d9e8531ad98737407d12

    Description

      Discovered when debugging QTBUG-63172. When trying to deploy that project, no Qt Quick imports were deployed. It was narrowed down to 6ff0e9a65657e8c51a37e63efe8169bb7e3050cc in qmlimportscanner. Reverting this change fixes the issue.

      This is the command run:

      qmlimportscanner -rootPath /home/eskil/dev/diverse/bugs/qtbug63172_glyphsAndroid/qtbug63172_with_ttf_files/ -importPath /home/eskil/dev/qt5-android-10/base/qml /home/eskil/dev/diverse/bugs/qtbug63172_glyphsAndroid/qtbug63172_with_ttf_files/
      

      The output with the current qmlimportscanner is:

      [
      ]
      

      The output with said change reverted:

      [
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.5"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.4"
          },
          {
              "classname": "QtQuick2WindowPlugin",
              "name": "QtQuick.Window",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Window.2",
              "plugin": "windowplugin",
              "relativePath": "QtQuick/Window.2",
              "type": "module",
              "version": "2.2"
          },
          {
              "classname": "QtQuickControls1Plugin",
              "name": "QtQuick.Controls",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls",
              "plugin": "qtquickcontrolsplugin",
              "relativePath": "QtQuick/Controls",
              "type": "module",
              "version": "1.2"
          },
          {
              "classname": "QtQuickLayoutsPlugin",
              "name": "QtQuick.Layouts",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Layouts",
              "plugin": "qquicklayoutsplugin",
              "relativePath": "QtQuick/Layouts",
              "type": "module",
              "version": "1.0"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.3"
          },
          {
              "classname": "QtQuickLayoutsPlugin",
              "name": "QtQuick.Layouts",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Layouts",
              "plugin": "qquicklayoutsplugin",
              "relativePath": "QtQuick/Layouts",
              "type": "module",
              "version": "1.1"
          },
          {
              "name": "QtQml",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQml",
              "relativePath": "QtQml",
              "type": "module",
              "version": "2.0"
          },
          {
              "classname": "QtQuickControlsAndroidStylePlugin",
              "name": "QtQuick.Controls.Styles.Android",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android",
              "plugin": "qtquickcontrolsandroidstyleplugin",
              "relativePath": "QtQuick/Controls/Styles/Android",
              "type": "module",
              "version": "1.0"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.2"
          },
          {
              "name": "QtQuick.Controls.Styles",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles",
              "relativePath": "QtQuick/Controls/Styles",
              "type": "module",
              "version": "1.3"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ApplicationWindowStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "QtQuick.Controls.Private",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Private",
              "relativePath": "QtQuick/Controls/Private",
              "type": "module",
              "version": "1.0"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/BusyIndicatorStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ButtonStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "QtQuick.Controls.Styles",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles",
              "relativePath": "QtQuick/Controls/Styles",
              "type": "module",
              "version": "1.2"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/CalendarStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/CheckBoxStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ComboBoxStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/CursorHandleStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/GroupBoxStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ProgressBarStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/RadioButtonStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ScrollViewStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/SliderStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/SpinBoxStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/SwitchStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/TextAreaStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/TextFieldStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ToolBarStyle.qml/drawables",
              "type": "directory"
          },
          {
              "name": "drawables",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles/Android/ToolButtonStyle.qml/drawables",
              "type": "directory"
          },
          {
              "classname": "QtQuickControls1Plugin",
              "name": "QtQuick.Controls",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls",
              "plugin": "qtquickcontrolsplugin",
              "relativePath": "QtQuick/Controls",
              "type": "module",
              "version": "1.4"
          },
          {
              "classname": "QtQuick2WindowPlugin",
              "name": "QtQuick.Window",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Window.2",
              "plugin": "windowplugin",
              "relativePath": "QtQuick/Window.2",
              "type": "module",
              "version": "2.1"
          },
          {
              "name": "QtQuick.Controls.Styles",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles",
              "relativePath": "QtQuick/Controls/Styles",
              "type": "module",
              "version": "1.4"
          },
          {
              "name": "QtQuick.Extras.Private",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Extras/Private",
              "relativePath": "QtQuick/Extras/Private",
              "type": "module",
              "version": "1.0"
          },
          {
              "name": "QtGraphicalEffects",
              "type": "module",
              "version": "1.0"
          },
          {
              "classname": "QtQuickExtrasPlugin",
              "name": "QtQuick.Extras",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Extras",
              "plugin": "qtquickextrasplugin",
              "relativePath": "QtQuick/Extras",
              "type": "module",
              "version": "1.4"
          },
          {
              "name": "QtQuick.Extras.Private.CppUtils",
              "type": "module",
              "version": "1.0"
          },
          {
              "name": "QtQuick.Controls.Styles",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls/Styles",
              "relativePath": "QtQuick/Controls/Styles",
              "type": "module",
              "version": "1.1"
          },
          {
              "name": "QtQuick.Extras.Private.CppUtils",
              "type": "module",
              "version": "1.1"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.0"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.6"
          },
          {
              "classname": "QtQuickControls1Plugin",
              "name": "QtQuick.Controls",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls",
              "plugin": "qtquickcontrolsplugin",
              "relativePath": "QtQuick/Controls",
              "type": "module",
              "version": "1.5"
          },
          {
              "classname": "QtQuickControls1Plugin",
              "name": "QtQuick.Controls",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls",
              "plugin": "qtquickcontrolsplugin",
              "relativePath": "QtQuick/Controls",
              "type": "module",
              "version": "1.3"
          },
          {
              "classname": "QtQmlModelsPlugin",
              "name": "QtQml.Models",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQml/Models.2",
              "plugin": "modelsplugin",
              "relativePath": "QtQml/Models.2",
              "type": "module",
              "version": "2.2"
          },
          {
              "classname": "QtQuickControls1Plugin",
              "name": "QtQuick.Controls",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Controls",
              "plugin": "qtquickcontrolsplugin",
              "relativePath": "QtQuick/Controls",
              "type": "module",
              "version": "1.1"
          },
          {
              "name": "QtQuick.Extras.Private",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick/Extras/Private",
              "relativePath": "QtQuick/Extras/Private",
              "type": "module",
              "version": "1.1"
          },
          {
              "classname": "QtQuick2Plugin",
              "name": "QtQuick",
              "path": "/home/eskil/dev/qt5-android-10/base/qml/QtQuick.2",
              "plugin": "qtquick2plugin",
              "relativePath": "QtQuick.2",
              "type": "module",
              "version": "2.1"
          }
      ]
      

      Attachments

        Issue Links

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

          Activity

            People

              andysh Andy Shaw
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes