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

Building Android QML projects with qmake is broken

    XMLWordPrintable

Details

    • 4fc14b19336531c96f5883ff4b06f9af1ddaa30d (qt/qtbase/dev) 599d298c06b30661f3b90c9c6e4840ea3d271a60 (qt/qtbase/6.2)

    Description

      I use QtCreator to create a new QtQuick  project using qmake.

      When I build and run the project under Android, it fails to start with the following problem:

      W libtest_armeabi-v7a.so: QQmlApplicationEngine failed to load component
      W libtest_armeabi-v7a.so: qrc:/main.qml:2:1: module "QtQuick.Window" is not installed
      W libtest_armeabi-v7a.so: exit app 0

      The full build log is attached.

      Looking at it, I can see the following line:

      Error: qmlimportscanner not found at /home/ivan/android_tools/qt6_build/qtbase/bin/qmlimportscanner
      

      This is strange considering that the qmlimportscanner is now located in libexec.

       

      Building with CMake works fine.

      Attachments

        Activity

          People

            qtbuildsystem Qt Build System Team
            ivan.solovev Ivan Solovev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: