Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.3, 6.8.0 Beta1, 6.8.0 Beta3
-
-
f6ffea19d (dev), 780ba4ea0 (6.8)
Description
Install qt 6.8.0 beta3 Android binaries, linux used as host in report, but issue reproduces on macOS and Windows aswell.
Configure project:
/home/qt/RTA/Qt_6.8.0/6.8.0/android_x86_64/bin/qt-cmake -S /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote -B /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r26b -GNinja
-> fails:
[1/60] Copying Main.qml to /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/Example/Main.qml [2/60] Automatic MOC and UIC for target remote_frontendplugin [3/60] Automatic MOC and UIC for target remote_frontend [4/60] Running AUTOMOC file extraction for target remote_frontend [5/60] Running rcc for resource qmake_Example_If_RemoteModule [6/60] Running moc --collect-json for target remote_frontend [7/60] Automatic QML type registration for target remote_frontend [8/60] Building CXX object CMakeFiles/remote_frontend.dir/remote_frontend_autogen/mocs_compilation.cpp.o [9/60] Building CXX object CMakeFiles/remote_frontend.dir/bld_x86_64/.qt/rcc/qrc_qmake_Example_If_RemoteModule.cpp.o [10/60] Building CXX object CMakeFiles/remote_frontendplugin.dir/remote_frontendplugin_autogen/mocs_compilation.cpp.o [11/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/processingservicebackendinterface.cpp.o [12/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/remotemodulefactory.cpp.o [13/60] Building CXX object CMakeFiles/remote_frontendplugin.dir/remote_frontendplugin_Example_If_RemoteModulePlugin.cpp.o [14/60] Building CXX object CMakeFiles/remote_frontend.dir/remote_frontend_qmltyperegistrations.cpp.o [15/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/remotemodule.cpp.o [16/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/processingservice.cpp.o [17/60] Linking CXX shared library libremote_frontend_x86_64.so [18/60] Automatic MOC and UIC for target remote [19/60] Running AUTOMOC file extraction for target remote [20/60] Linking CXX shared module Example/If/RemoteModule/libqml_Example_If_RemoteModule_remote_frontendplugin_x86_64.so [21/60] Running rcc for resource qmake_Example [22/60] Generating .rcc/qmlcache/remote_qmlcache_loader.cpp [23/60] Running moc --collect-json for target remote [24/60] Running rcc for resource remote_raw_qml_0 [25/60] Automatic QML type registration for target remote [26/60] Generating .rcc/qmlcache/remote_Main_qml.cpp, .rcc/qmlcache/remote_Main_qml.cpp.aotstats [27/60] Building CXX object CMakeFiles/remote.dir/remote_autogen/mocs_compilation.cpp.o [28/60] Building CXX object CMakeFiles/remote.dir/bld_x86_64/.qt/rcc/qrc_qmake_Example.cpp.o [29/60] Automatic MOC and UIC for target remote-server [30/60] Generating rep_processingservice_source.h [31/60] Running AUTOMOC file extraction for target remote-server [32/60] Automatic MOC and UIC for target remote_backend_qtro [33/60] Generating rep_processingservice_replica.h [34/60] Running AUTOMOC file extraction for target remote_backend_qtro [35/60] Generating moc_rep_processingservice_source.cpp [36/60] Running moc --collect-json for target remote_backend_qtro [37/60] Running moc --collect-json for target remote-server [38/60] Generating moc_rep_processingservice_replica.cpp [39/60] Building CXX object CMakeFiles/remote.dir/bld_x86_64/.qt/rcc/qrc_remote_raw_qml_0.cpp.o [40/60] Building CXX object CMakeFiles/remote.dir/bld_x86_64/.rcc/qmlcache/remote_Main_qml.cpp.o [41/60] Building CXX object CMakeFiles/remote.dir/main.cpp.o [42/60] Building CXX object CMakeFiles/remote.dir/remote_qmltyperegistrations.cpp.o [43/60] Building CXX object CMakeFiles/remote-server.dir/remote-server_autogen/mocs_compilation.cpp.o [44/60] Building CXX object CMakeFiles/remote.dir/bld_x86_64/.rcc/qmlcache/remote_qmlcache_loader.cpp.o [45/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/remote_backend_qtro_autogen/mocs_compilation.cpp.o [46/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/backend_qtro/remotemoduleroplugin.cpp.o [47/60] Building CXX object CMakeFiles/remote-server.dir/server/serverMain.cpp.o [48/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/moc_rep_processingservice_replica.cpp.o [49/60] Linking CXX shared module libremote_x86_64.so [50/60] Building CXX object CMakeFiles/remote-server.dir/server/processingservice.cpp.o [51/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/backend_qtro/processingservicerobackend.cpp.o [52/60] Linking CXX shared module interfaceframework/libplugins_interfaceframework_remote_backend_qtro_x86_64.so [53/60] Copying remote binary to apk folder [54/60] Building CXX object CMakeFiles/remote-server.dir/server_qtro/core.cpp.o [55/60] Building CXX object CMakeFiles/remote-server.dir/moc_rep_processingservice_source.cpp.o [56/60] Building CXX object CMakeFiles/remote-server.dir/server_qtro/main.cpp.o [57/60] Linking CXX shared module libremote-server_x86_64.so [58/60] Copying remote-server binary to apk folder [59/60] Creating APK for remote FAILED: android-build/remote.apk /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote.apk cd /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 && /home/qt/RTA/Qt_6.8.0/Tools/CMake/bin/cmake -E copy /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/libremote_x86_64.so /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/libs/x86_64/libremote_x86_64.so && /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_64/bin/androiddeployqt --input /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-remote-deployment-settings.json --output /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build --apk /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote.apk --depfile /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote.d --builddir /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 "" && /home/qt/RTA/Qt_6.8.0/Tools/CMake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote.d /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/CMakeFiles/d/0cd4cd2daa1f0ecbead9c735d922a96b5cb86a6fd293cd9b4affdbfce2e5bec1.d Generating Android Package Input file: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-remote-deployment-settings.json Output directory: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/ Application binary: remote Android build platform: android-34 Install to device: No Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.iOS > Task :preBuild UP-TO-DATE > Task :preDebugBuild UP-TO-DATE > Task :mergeDebugNativeDebugMetadata NO-SOURCE > Task :javaPreCompileDebug > Task :checkDebugAarMetadata > Task :generateDebugResValues > Task :mapDebugSourceSetPaths > Task :generateDebugResources > Task :packageDebugResources > Task :mergeDebugResources > Task :parseDebugLocalResources > Task :createDebugCompatibleScreenManifests > Task :extractDeepLinksDebug Incorrect package="org.qtproject.example.remote" found in source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="org.qtproject.example.remote" from the source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugMainManifest'. > Incorrect package="org.qtproject.example.remote" found in source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="org.qtproject.example.remote" from the source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 1s > Task :processDebugMainManifest FAILED 11 actionable tasks: 11 executed Building the android package failed! -- For more information, run this command with --verbose. [60/60] Creating APK for remote-server FAILED: android-build/remote-server.apk /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote-server.apk cd /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 && /home/qt/RTA/Qt_6.8.0/Tools/CMake/bin/cmake -E copy /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/libremote-server_x86_64.so /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/libs/x86_64/libremote-server_x86_64.so && /home/qt/RTA/Qt_6.8.0/6.8.0/gcc_64/bin/androiddeployqt --input /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-remote-server-deployment-settings.json --output /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build --apk /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote-server.apk --depfile /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote-server.d --builddir /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 "" && /home/qt/RTA/Qt_6.8.0/Tools/CMake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64 /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/remote-server.d /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/CMakeFiles/d/ccabdfb216b725abf7773124d50e1cd264835612a6f94437f2e148ce533b0ea6.d Warning: Package name contained illegal characters and was cleaned to "org.qtproject.example.remote_server" Generating Android Package Input file: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-remote-server-deployment-settings.json Output directory: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/ Application binary: remote-server Android build platform: android-34 Install to device: No Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.iOS Starting a Gradle Daemon, 1 busy and 1 stopped Daemons could not be reused, use --status for details > Task :preBuild UP-TO-DATE > Task :preDebugBuild UP-TO-DATE > Task :mergeDebugNativeDebugMetadata NO-SOURCE > Task :javaPreCompileDebug UP-TO-DATE > Task :checkDebugAarMetadata UP-TO-DATE > Task :generateDebugResValues UP-TO-DATE > Task :mapDebugSourceSetPaths UP-TO-DATE > Task :generateDebugResources UP-TO-DATE > Task :mergeDebugResources UP-TO-DATE > Task :packageDebugResources UP-TO-DATE > Task :parseDebugLocalResources UP-TO-DATE > Task :createDebugCompatibleScreenManifests UP-TO-DATE > Task :extractDeepLinksDebug UP-TO-DATE Incorrect package="org.qtproject.example.remote" found in source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="org.qtproject.example.remote" from the source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. FAILURE: Build failed with an exception. > Task :processDebugMainManifest FAILED * What went wrong: Execution failed for task ':processDebugMainManifest'. > Incorrect package="org.qtproject.example.remote" found in source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="org.qtproject.example.remote" from the source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.0/Examples/Qt-6.8.0/interfaceframework/remote/bld_x86_64/android-build/AndroidManifest.xml. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 15s 11 actionable tasks: 1 executed, 10 up-to-date Building the android package failed! -- For more information, run this command with --verbose. ninja: build stopped: subcommand failed.
Example, named qface-remote, compiles with Qt 6.7.2 Android.