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

qmlimportscanner looks in "/usr/./qml" instead of /usr/lib64/qt6/qml

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3: Somewhat important
    • None
    • 6.3.0 RC
    • None

    Description

      qtbase, qtshadertools, qtdeclarative and qtsvg all built and installed successfully with -DCMAKE_INSTALL_PREFIX=/usr/lib64/qt6 -DQT_WILL_INSTALL=ON.

      INSTALL_QMLDIR is (apparently automatically and without the possibility to override, it keeps going back to that even if I try to force the absolute path) set to "./qml".

      Building qtmultimedia as the next step fails while building examples, complaining
      [1/36] Running qmlimportscanner for declarative-camera
      FAILED: examples/multimedia/declarative-camera/.qt_plugins/Qt6_QmlPlugins_Imports_declarative-camera.cmake /home/bero/abf/qt6-qtmultimedia/BUILD/qtmultimedia-everywhere-src-6.3.0-rc/build/examples/multimedia/declarative-camera/.qt_plugins/Qt6_QmlPlugins_Imports_declarative-camera.cmake
      cd /home/bero/abf/qt6-qtmultimedia/BUILD/qtmultimedia-everywhere-src-6.3.0-rc/examples/multimedia/declarative-camera && /usr/lib64/qt6/./libexec/qmlimportscanner @/home/bero/abf/qt6-qtmultimedia/BUILD/qtmultimedia-everywhere-src-6.3.0-rc/build/examples/multimedia/declarative-camera/.qt_plugins/Qt6_QmlPlugins_Imports_declarative-camera.rsp
      qmlimportscanner: No such file or directory: "/usr/./qml"

      [This was working in 6.2.x; didn't try 6.3.0 betas before RC]

      Qt6_QmlPlugins_Imports_declarative-camera.rsp, as generated by the build system, says [among other things]
      -importPath
      /usr/./qml

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes