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

Grue sensor example qmake build issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.3.0
    • Sensors
    • Tested on Windows using Android 10 emulator and Oneplus 5 running Android 10
    • Android

      When building Grue sensor example with qmake for device with arm64-v8a or emulator with x86_64 the build fails with error.

       

      make[1]: *** No rule to make target 'sensors\libplugins_sensors_qtsensors_grue_armeabi-v7a.so', needed by 'android-build\libs\armeabi-v7a\libplugins_sensors_qtsensors_grue_armeabi-v7a.so'. Stop.
      

       

       

      When building with armabi-v7a the example builds and gets deployed to the devicebut then gives error:

       

      W libgrue_app_armeabi-v7a.so: qrc:/QMLGrueSensor/grue.qml:54:1: module "QMLGrueSensor" is not installed
      W libgrue_app_armeabi-v7a.so:      import QMLGrueSensor
      W libgrue_app_armeabi-v7a.so:      ^
      

       

       

      The example works when it is build with cmake

       

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

            lpotter Lorn Potter
            eliashautala Elias Hautala
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes