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

import QtQml in dependencies doesn't work on static builds if omitted from the main qml

    XMLWordPrintable

    Details

    • Commits:
      fd72ed794d0325e122cd42cf3c2d0e4874b7b929 (qt/qtbase/5.15)

      Description

      Can reproduce for example with qtdeclarative/tests/manual/pointer or qtwebengine/examples/pdf/pdfviewer on a static build on macOS, Linux or iOS. (it came up on iOS because builds are always static)

      ~/dev/qt5-static/qtdeclarative/tests/manual/pointer   Qt 5.15.0 in /home/rutledge/dev/qt5-static/qtbase  
      [i7][11:54:50] ./pointer
      [     0.000 W] default unknown - QQmlApplicationEngine failed to load component
      [     0.000 W] default unknown - qrc:/main.qml:41:5: Type Examples.LauncherList unavailable
      [     0.000 W] default unknown - qrc:/quick/shared/LauncherList.qml:52:1: module "QtQml" plugin "qmlplugin" not found
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-82873
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              fabiankosmale Fabian Kosmale
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes