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

qmlsc doesn't find modules from sysroot

    XMLWordPrintable

Details

    Description

      Using QML Compiler with cross-compilation toolchain fails as qmlsc tries to find QML modules from runtime paths instead of using the sysroot paths.

      Building for extending-qml/chapter6-plugins example with Boot2Qt toolchain:

      [7/16 89.4/sec] Generating .rcc/qmlcache/chapter6-plugins_app_qml.cpp
      Warning: app.qml: Warnings occurred while importing base modules: [import]
      ---
      Warning: Failed to find the following builtins: builtins.qmltypes, jsroot.qmltypes (so will use qrc). Import paths used:
      	/home/sapiippo/Qt/Examples/Qt-6.4.0/qml/tutorials/extending-qml/build-chapter6-plugins-Boot2Qt_6_4_0_Raspberry_Pi_4_64_bit-Debug
      	/usr/lib/qml [import]
       

       

       

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: