Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Error while building/deploying project qtmqtt (kit: Android for arm64-v8a (Clang Qt 5.13.1 for Android ARM64-v8a)) When executing step "Build Android APK"



  • Hi,
    I ran command as follows as per what Qt creator suggested but it didn't work.
    The error is still the same.
    Could someone tell me how to fix it?
    Thank & Best regards!

    shelley@yxl-u18-virtual-machine:~/src/QtMqtt_project/qtmqtt$ sudo make install INSTALL_ROOT=/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/ ANDROID_NDK_ROOT=/home/shelley/android/sdk/ndk-bundle
    
    
    12:38:04: Running steps for project qtmqtt...
    12:38:04: Configuration unchanged, skipping qmake step.
    12:38:04: Starting: "/home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make" -j4
    cd src/ && ( test -e Makefile || /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -o Makefile /home/shelley/src/QtMqtt_project/qtmqtt/src/src.pro -spec android-clang CONFIG+=debug CONFIG+=qml_debug ) && /home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make -f Makefile 
    make[1]: Entering directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src'
    cd mqtt/ && ( test -e Makefile || /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -o Makefile /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/mqtt.pro -spec android-clang CONFIG+=debug CONFIG+=qml_debug ) && /home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make -f Makefile 
    make[2]: Entering directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src/mqtt'
    make[2]: Nothing to be done for 'first'.
    make[2]: Leaving directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src/mqtt'
    make[1]: Leaving directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src'
    12:38:04: The process "/home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make" exited normally.
    12:38:04: Removing directory /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/libs
    12:38:04: Starting: "/home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make" INSTALL_ROOT=/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build install
    cd src/ && ( test -e Makefile || /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -o Makefile /home/shelley/src/QtMqtt_project/qtmqtt/src/src.pro -spec android-clang CONFIG+=debug CONFIG+=qml_debug ) && /home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make -f Makefile install
    make[1]: Entering directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src'
    cd mqtt/ && ( test -e Makefile || /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -o Makefile /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/mqtt.pro -spec android-clang CONFIG+=debug CONFIG+=qml_debug ) && /home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make -f Makefile install
    make[2]: Entering directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src/mqtt'
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall -exe ../../lib/libQt5Mqtt.so /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Mqtt.so
    sed  -e 's,/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/lib,$$[QT_INSTALL_LIBS],g' -e 's,/home/shelley/Qt/5.13.1/android_arm64_v8a/lib,$$[QT_INSTALL_LIBS],g' ../../lib/libQt5Mqtt.prl > /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Mqtt.prl
    sed  -e s,/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/lib,=/home/shelley/Qt/5.13.1/android_arm64_v8a/lib,g ../../lib/libQt5Mqtt.la > /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Mqtt.la
    sed  -e s,/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/lib,/home/shelley/Qt/5.13.1/android_arm64_v8a/lib,g ../../lib/pkgconfig/Qt5Mqtt.pc > /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/pkgconfig/Qt5Mqtt.pc
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttAuthenticationProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttAuthenticationProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttClient /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttClient
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttLastWillProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttLastWillProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttConnectionProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttConnectionProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttServerConnectionProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttServerConnectionProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttMessage /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttMessage
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttPublishProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttPublishProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttMessageStatusProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttMessageStatusProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttSubscription /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttSubscription
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttSubscriptionProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttSubscriptionProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttUnsubscriptionProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttUnsubscriptionProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttTopicFilter /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttTopicFilter
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttTopicName /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttTopicName
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttStringPair /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttStringPair
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QMqttUserProperties /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QMqttUserProperties
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/qtmqttversion.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qtmqttversion.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QtMqttVersion /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QtMqttVersion
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QtMqtt /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QtMqtt
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttauthenticationproperties.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttauthenticationproperties.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttclient.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttclient.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttconnectionproperties.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttconnectionproperties.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttglobal.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttglobal.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttmessage.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttmessage.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttpublishproperties.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttpublishproperties.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttsubscription.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttsubscription.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttsubscriptionproperties.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqttsubscriptionproperties.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqtttopicfilter.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqtttopicfilter.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqtttopicname.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqtttopicname.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqtttype.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/qmqtttype.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/include/QtMqtt/QtMqttDepends /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/QtMqttDepends
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttclient_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttclient_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttconnection_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttconnection_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttconnectionproperties_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttconnectionproperties_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttcontrolpacket_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttcontrolpacket_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttmessage_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttmessage_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttpublishproperties_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttpublishproperties_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/qtmqtt/src/mqtt/qmqttsubscription_p.h /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/include/QtMqtt/5.12.5/QtMqtt/private/qmqttsubscription_p.h
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/mkspecs/modules-inst/qt_lib_mqtt.pri /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/mkspecs/modules/qt_lib_mqtt.pri
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/mkspecs/modules-inst/qt_lib_mqtt_private.pri /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/mkspecs/modules/qt_lib_mqtt_private.pri
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/lib/cmake/Qt5Mqtt/Qt5MqttConfig.cmake /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/cmake/Qt5Mqtt/Qt5MqttConfig.cmake
    /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmake -install qinstall /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/lib/cmake/Qt5Mqtt/Qt5MqttConfigVersion.cmake /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/home/shelley/Qt/5.13.1/android_arm64_v8a/lib/cmake/Qt5Mqtt/Qt5MqttConfigVersion.cmake
    make[2]: Leaving directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src/mqtt'
    make[1]: Leaving directory '/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/src'
    12:38:04: The process "/home/shelley/android/sdk/ndk-bundle/prebuilt/linux-x86_64/bin/make" exited normally.
    12:38:04: Starting: "/home/shelley/Qt/5.13.1/android_arm64_v8a/bin/androiddeployqt" --input /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/examples/mqtt/websocketsubscription/android-libwebsocketsubscription.so-deployment-settings.json --output /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build --android-platform android-29 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --verbose --gradle
    Generating Android Package
      Input file: /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/examples/mqtt/websocketsubscription/android-libwebsocketsubscription.so-deployment-settings.json
      Output directory: /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/
      Application binary: /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/examples/mqtt/websocketsubscription/libwebsocketsubscription.so
      Android build platform: android-29
      Install to device: No
    Delete missing files /home/shelley/Qt/5.13.1/android_arm64_v8a/src/android/templates/res /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/res
    Delete missing files /home/shelley/Qt/5.13.1/android_arm64_v8a/src/android/templates/res/values /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/res/values
    Copying Android package template.
      -- Skipping file /home/shelley/Qt/5.13.1/android_arm64_v8a/src/3rdparty/gradle/gradle/wrapper/gradle-wrapper.jar. Same or newer file already in place.
      -- Skipping file /home/shelley/Qt/5.13.1/android_arm64_v8a/src/3rdparty/gradle/gradle/wrapper/gradle-wrapper.properties. Same or newer file already in place.
      -- Skipping file /home/shelley/Qt/5.13.1/android_arm64_v8a/src/3rdparty/gradle/gradlew. Same or newer file already in place.
      -- Skipping file /home/shelley/Qt/5.13.1/android_arm64_v8a/src/3rdparty/gradle/gradlew.bat. Same or newer file already in place.
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/AndroidManifest.xml
      -- Skipping file /home/shelley/Qt/5.13.1/android_arm64_v8a/src/android/templates/build.gradle. Same or newer file already in place.
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/res/values/libs.xml
    Detecting dependencies of application.
    Reading dependencies from /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/examples/mqtt/websocketsubscription/libwebsocketsubscription.so
          lib/libQt5Core.so
          lib/libQt5Network.so
          lib/libQt5WebSockets.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Core.so
    Appending dependency: lib/libQt5Core.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Network.so
          lib/libQt5Core.so
    Appending dependency: lib/libQt5Network.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5WebSockets.so
          lib/libQt5Core.so
          lib/libQt5Network.so
    Appending dependency: lib/libQt5WebSockets.so
    Reading Android dependencies for Qt5Core
    Reading Android dependencies for Qt5Network
    Appending dependency from xml: plugins/bearer/libqandroidbearer.so
    No android dependencies for Qt5WebSockets
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/plugins/platforms/android/libqtforandroid.so
          lib/libQt5Core.so
          lib/libQt5Gui.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/lib/libQt5Gui.so
          lib/libQt5Core.so
    Appending dependency: lib/libQt5Gui.so
    Reading Android dependencies for Qt5Gui
    Appending dependency from xml: plugins/platforms/android/libqtforandroid.so
    Appending dependency from xml: plugins/iconengines/libqsvgicon.so
    Appending dependency from xml: plugins/imageformats/libqgif.so
    Appending dependency from xml: plugins/imageformats/libqicns.so
    Appending dependency from xml: plugins/imageformats/libqico.so
    Appending dependency from xml: plugins/imageformats/libqjpeg.so
    Appending dependency from xml: plugins/imageformats/libqsvg.so
    Appending dependency from xml: plugins/imageformats/libqtga.so
    Appending dependency from xml: plugins/imageformats/libqtiff.so
    Appending dependency from xml: plugins/imageformats/libqwbmp.so
    Appending dependency from xml: plugins/imageformats/libqwebp.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/plugins/bearer/libqandroidbearer.so
          lib/libQt5Core.so
          lib/libQt5Network.so
    Reading dependencies from /home/shelley/Qt/5.13.1/android_arm64_v8a/plugins/platforms/android/libqtforandroid.so
          lib/libQt5Core.so
          lib/libQt5Gui.so
    Scanning for QML imports.
    Running qmlimportscanner with the following command: /home/shelley/Qt/5.13.1/android_arm64_v8a/bin/qmlimportscanner -rootPath /home/shelley/src/QtMqtt_project/qtmqtt/examples/mqtt/websocketsubscription/ -importPath /home/shelley/Qt/5.13.1/android_arm64_v8a/qml /home/shelley/src/QtMqtt_project/qtmqtt/examples/mqtt/websocketsubscription/
    Copying STL library
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libc++_shared.so
    Copying 18 dependencies from Qt into package.
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libQt5Core.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libQt5Network.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libQt5WebSockets.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/QtAndroid.jar
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/QtAndroidBearer.jar
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_bearer_libqandroidbearer.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libQt5Gui.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_platforms_android_libqtforandroid.so
      -- Skipping /home/shelley/Qt/5.13.1/android_arm64_v8a/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqgif.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqicns.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqico.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqjpeg.so
      -- Skipping /home/shelley/Qt/5.13.1/android_arm64_v8a/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so,lib/libQt5Widgets.so.
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqtga.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqtiff.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqwbmp.so
      -- Copied /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libplugins_imageformats_libqwebp.so
    Checking if application binary is in package.
    Application binary is not in output directory: /home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build//libs/arm64-v8a/libwebsocketsubscription.so. Please run 'make install INSTALL_ROOT=/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/' first.
    12:38:04: The process "/home/shelley/Qt/5.13.1/android_arm64_v8a/bin/androiddeployqt" exited with code 7.
    Error while building/deploying project qtmqtt (kit: Android for arm64-v8a (Clang Qt 5.13.1 for Android ARM64-v8a))
    When executing step "Build Android APK"
    12:38:04: Elapsed time: 00:01.
    

  • Lifetime Qt Champion

    Hi,

    Just an educated guess but it looks like you tried to "run" the module you just built which is not possible. However, it looks like it build successfully.



  • Hi @SGaist ,
    It says : Please run 'make install INSTALL_ROOT=/home/shelley/src/QtMqtt_project/build-qtmqtt-Android_for_arm64_v8a_Clang_Qt_5_13_1_for_Android_ARM64_v8a-Debug/android-build/' first.
    But where should I run that command? In the terminal out of Qt Creator?

    Thank you and Best regards!


  • Lifetime Qt Champion

    Either from a terminal or you can add a build step to your project and call it there.



  • Hi @SGaist ,
    But either from a terminal or add a build step to my project can not work.
    The error is still there.
    Is there anything wrong?

    Thank you and Best regards!


  • Lifetime Qt Champion

    Can you give more details than "cannot work" ?


Log in to reply