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

Qt Androidnotifier example build fails on Qmake

    XMLWordPrintable

Details

    • Android
    • 2024wk12FOQtforAndroid

    Description

      QMake Build problem:

      Building qmake androidnotifier for 0A231JEC217599 with port 5433
      Building qmake androidnotifier for D1AGAD1762743231 with port 5434
      Building qmake androidnotifier for R5CT922D0KX with port 5435
      Building qmake androidnotifier for emulator-5554 with port 5436
      Building qmake androidnotifier for emulator-5556 with port 5437
      Error: No androidnotifier APK build for emulator-5554
      Error: No androidnotifier APK build for emulator-5556
      Error: No androidnotifier APK build for R5CT922D0KX
      Error: No androidnotifier APK build for 0A231JEC217599
      Error: No androidnotifier APK build for D1AGAD1762743231

      12:07:26: Initializing deployment to Android device/simulator
      12:07:26: Deploying to D1AGAD1762743231
      12:07:26: Running steps for project androidnotifier...
      12:07:26: Starting: "/home/jani/Qt/6.7.0/android_arm64_v8a/bin/qmake" /home/jani/Qt/Examples/Qt-6.7.0/corelib/platform/androidnotifier/androidnotifier.pro -spec android-clang CONFIG+=debug CONFIG+=qml_debug
      12:07:26: The process "/home/jani/Qt/6.7.0/android_arm64_v8a/bin/qmake" exited normally.
      12:07:26: Starting: "/home/jani/Android/Sdk/ndk/26.1.10909125/prebuilt/linux-x86_64/bin/make" -f /home/jani/Qt/Examples/Qt-6.7.0/corelib/platform/build-androidnotifier-Android_Qt_6_7_0_Clang_arm64_v8a-Debug/Makefile qmake_all
      make: Nothing to be done for 'qmake_all'.
      12:07:26: The process "/home/jani/Android/Sdk/ndk/26.1.10909125/prebuilt/linux-x86_64/bin/make" exited normally.
      12:07:26: Starting: "/home/jani/Android/Sdk/ndk/26.1.10909125/prebuilt/linux-x86_64/bin/make" -j8
      /home/jani/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target aarch64-linux-android23 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -g -Wall -W -D_REENTRANT -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../androidnotifier -I. -I/home/jani/Qt/6.7.0/android_arm64_v8a/include -I/home/jani/Qt/6.7.0/android_arm64_v8a/include/QtWidgets -I/home/jani/Qt/6.7.0/android_arm64_v8a/include/QtGui -I/home/jani/Qt/6.7.0/android_arm64_v8a/include/QtCore -I. -I/home/jani/Qt/6.7.0/android_arm64_v8a/mkspecs/android-clang -o notificationclient.o ../androidnotifier/notificationclient.cpp
      ../androidnotifier/notificationclient.cpp:8:10: fatal error: 'QtCore/private/qandroidextras_p.h' file not found
      #include <QtCore/private/qandroidextras_p.h>
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      make: *** [Makefile:1343: notificationclient.o] Error 1
      12:07:27: The process "/home/jani/Android/Sdk/ndk/26.1.10909125/prebuilt/linux-x86_64/bin/make" exited with code 2.
      Error while building/deploying project androidnotifier (kit: Android Qt 6.7.0 Clang arm64-v8a)
      When executing step "Make"
      12:07:27: Elapsed time: 00:01.

      Attachments

        Issue Links

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

          Activity

            People

              assam Assam Boudjelthia
              jani-korteniemi Jani Korteniemi
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes