Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1
-
-
707624039 (dev), 6112e723d (6.9)
Description
Install Qt 6.8.1 Android binaries, include QtInterfaceFramework to installation.
Configure example interfaceframework/remote
6.8.1/android_arm64_v8a/bin/qt-cmake -S /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote -B /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a -DANDROID_SDK_ROOT=/opt/android/sdk -DANDROID_NDK_ROOT=/opt/android/android-ndk-r26b -GNinja
Compile: cmake --build . --target all
-> output:
[1/60] Copying Main.qml to /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/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_arm64-v8a/.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_frontendplugin.dir/remote_frontendplugin_Example_If_RemoteModulePlugin.cpp.o [12/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/processingservicebackendinterface.cpp.o [13/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/remotemodulefactory.cpp.o [14/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/processingservice.cpp.o [15/60] Building CXX object CMakeFiles/remote_frontend.dir/frontend/remotemodule.cpp.o [16/60] Building CXX object CMakeFiles/remote_frontend.dir/remote_frontend_qmltyperegistrations.cpp.o [17/60] Linking CXX shared library libremote_frontend_arm64-v8a.so [18/60] Automatic MOC and UIC for target remote [19/60] Running AUTOMOC file extraction for target remote [20/60] Running rcc for resource qmake_Example [21/60] Running rcc for resource remote_raw_qml_0 [22/60] Generating .rcc/qmlcache/remote_qmlcache_loader.cpp [23/60] Linking CXX shared module Example/If/RemoteModule/libqml_Example_If_RemoteModule_remote_frontendplugin_arm64-v8a.so [24/60] Running moc --collect-json for target remote [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_arm64-v8a/.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] Building CXX object CMakeFiles/remote.dir/bld_arm64-v8a/.qt/rcc/qrc_remote_raw_qml_0.cpp.o [39/60] Building CXX object CMakeFiles/remote-server.dir/remote-server_autogen/mocs_compilation.cpp.o [40/60] Generating moc_rep_processingservice_replica.cpp [41/60] Building CXX object CMakeFiles/remote.dir/main.cpp.o [42/60] Building CXX object CMakeFiles/remote.dir/bld_arm64-v8a/.rcc/qmlcache/remote_qmlcache_loader.cpp.o [43/60] Building CXX object CMakeFiles/remote.dir/remote_qmltyperegistrations.cpp.o [44/60] Building CXX object CMakeFiles/remote.dir/bld_arm64-v8a/.rcc/qmlcache/remote_Main_qml.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-server.dir/server/serverMain.cpp.o [47/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/backend_qtro/remotemoduleroplugin.cpp.o [48/60] Building CXX object CMakeFiles/remote-server.dir/server/processingservice.cpp.o [49/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/moc_rep_processingservice_replica.cpp.o [50/60] Linking CXX shared module libremote_arm64-v8a.so [51/60] Building CXX object CMakeFiles/remote-server.dir/server_qtro/main.cpp.o [52/60] Building CXX object CMakeFiles/remote-server.dir/server_qtro/core.cpp.o [53/60] Building CXX object CMakeFiles/remote-server.dir/moc_rep_processingservice_source.cpp.o [54/60] Linking CXX shared module libremote-server_arm64-v8a.so [55/60] Building CXX object CMakeFiles/remote_backend_qtro.dir/backend_qtro/processingservicerobackend.cpp.o [56/60] Linking CXX shared module interfaceframework/libplugins_interfaceframework_remote_backend_qtro_arm64-v8a.so [57/60] Copying remote-server binary to apk folder [58/60] Copying remote binary to apk folder [59/60] Creating APK for remote-server FAILED: android-build-remote-server/remote-server.apk /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/remote-server.apk cd /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a && /home/qt/RTA/Qt_6.8.1/Tools/CMake/bin/cmake -E copy /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/libremote-server_arm64-v8a.so /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/libs/arm64-v8a/libremote-server_arm64-v8a.so && /home/qt/RTA/Qt_6.8.1/6.8.1/gcc_64/bin/androiddeployqt --input /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-remote-server-deployment-settings.json --output /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server --apk /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/remote-server.apk --depfile /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/remote-server.d --builddir /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a "" && /home/qt/RTA/Qt_6.8.1/Tools/CMake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/remote-server.d /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/CMakeFiles/d/022ccf71c13b16f5c8cda2951f37c25f0bc300ea074dcb7cde99a3b7f7f4e557.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.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-remote-server-deployment-settings.json Output directory: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote-server/ 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 No platform plugin (libplugins_platforms_qtforandroid.so) included in the deployment. Make sure the app links to Qt Gui library. [60/60] Creating APK for remote Generating Android Package Input file: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-remote-deployment-settings.json Output directory: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote/ 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 :generateDebugResValues > Task :checkDebugAarMetadata > Task :mapDebugSourceSetPaths > Task :generateDebugResources > Task :packageDebugResources > Task :mergeDebugResources > Task :createDebugCompatibleScreenManifests > Task :parseDebugLocalResources > Task :extractDeepLinksDebug> Task :processDebugMainManifest package="org.qtproject.example.remote" found in source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored. Recommendation: remove package="org.qtproject.example.remote" from the source AndroidManifest.xml: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote/AndroidManifest.xml.> Task :processDebugManifest > Task :mergeDebugShaders > Task :compileDebugShaders NO-SOURCE > Task :generateDebugAssets UP-TO-DATE > Task :mergeDebugAssets > Task :processDebugManifestForPackage > Task :compressDebugAssets > Task :processDebugJavaRes NO-SOURCE > Task :checkDebugDuplicateClasses > Task :mergeLibDexDebug > Task :mergeDebugJavaResource > Task :processDebugResources > Task :mergeDebugJniLibFolders > Task :desugarDebugFileDependencies > Task :compileDebugJavaWithJavac > Task :dexBuilderDebug > Task :mergeProjectDexDebug > Task :validateSigningDebug > Task :writeDebugAppMetadata > Task :writeDebugSigningConfigVersions > Task :mergeDebugNativeLibs> Task :stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libQt6Core_arm64-v8a.so, libQt6Gui_arm64-v8a.so, libQt6InterfaceFramework_arm64-v8a.so, libQt6Network_arm64-v8a.so, libQt6OpenGL_arm64-v8a.so, libQt6Pdf_arm64-v8a.so, libQt6QmlMeta_arm64-v8a.so, libQt6QmlModels_arm64-v8a.so, libQt6QmlWorkerScript_arm64-v8a.so, libQt6Qml_arm64-v8a.so, libQt6Quick3DUtils_arm64-v8a.so, libQt6QuickControls2BasicStyleImpl_arm64-v8a.so, libQt6QuickControls2Basic_arm64-v8a.so, libQt6QuickControls2FluentWinUI3StyleImpl_arm64-v8a.so, libQt6QuickControls2FusionStyleImpl_arm64-v8a.so, libQt6QuickControls2Fusion_arm64-v8a.so, libQt6QuickControls2ImagineStyleImpl_arm64-v8a.so, libQt6QuickControls2Imagine_arm64-v8a.so, libQt6QuickControls2Impl_arm64-v8a.so, libQt6QuickControls2MaterialStyleImpl_arm64-v8a.so, libQt6QuickControls2Material_arm64-v8a.so, libQt6QuickControls2UniversalStyleImpl_arm64-v8a.so, libQt6QuickControls2Universal_arm64-v8a.so, libQt6QuickControls2_arm64-v8a.so, libQt6QuickEffects_arm64-v8a.so, libQt6QuickLayouts_arm64-v8a.so, libQt6QuickShapes_arm64-v8a.so, libQt6QuickTemplates2_arm64-v8a.so, libQt6Quick_arm64-v8a.so, libQt6Svg_arm64-v8a.so, libQt6VirtualKeyboard_arm64-v8a.so, libc++_shared.so, libplugins_iconengines_qsvgicon_arm64-v8a.so, libplugins_imageformats_qgif_arm64-v8a.so, libplugins_imageformats_qicns_arm64-v8a.so, libplugins_imageformats_qico_arm64-v8a.so, libplugins_imageformats_qjpeg_arm64-v8a.so, libplugins_imageformats_qpdf_arm64-v8a.so, libplugins_imageformats_qsvg_arm64-v8a.so, libplugins_imageformats_qtga_arm64-v8a.so, libplugins_imageformats_qtiff_arm64-v8a.so, libplugins_imageformats_qwbmp_arm64-v8a.so, libplugins_imageformats_qwebp_arm64-v8a.so, libplugins_interfaceframework_remote_backend_qtro_arm64-v8a.so, libplugins_networkinformation_qandroidnetworkinformation_arm64-v8a.so, libplugins_platforminputcontexts_qtvirtualkeyboardplugin_arm64-v8a.so, libplugins_platforms_qtforandroid_arm64-v8a.so, libplugins_qmltooling_qmldbg_debugger_arm64-v8a.so, libplugins_qmltooling_qmldbg_inspector_arm64-v8a.so, libplugins_qmltooling_qmldbg_local_arm64-v8a.so, libplugins_qmltooling_qmldbg_messages_arm64-v8a.so, libplugins_qmltooling_qmldbg_native_arm64-v8a.so, libplugins_qmltooling_qmldbg_nativedebugger_arm64-v8a.so, libplugins_qmltooling_qmldbg_preview_arm64-v8a.so, libplugins_qmltooling_qmldbg_profiler_arm64-v8a.so, libplugins_qmltooling_qmldbg_quick3dprofiler_arm64-v8a.so, libplugins_qmltooling_qmldbg_quickprofiler_arm64-v8a.so, libplugins_qmltooling_qmldbg_server_arm64-v8a.so, libplugins_qmltooling_qmldbg_tcp_arm64-v8a.so, libplugins_tls_qopensslbackend_arm64-v8a.so, libqml_Example_If_RemoteModule_remote_frontendplugin_arm64-v8a.so, libqml_QtQml_Models_modelsplugin_arm64-v8a.so, libqml_QtQml_WorkerScript_workerscriptplugin_arm64-v8a.so, libqml_QtQml_qmlplugin_arm64-v8a.so, libqml_QtQuick_Controls_Basic_impl_qtquickcontrols2basicstyleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_Basic_qtquickcontrols2basicstyleplugin_arm64-v8a.so, libqml_QtQuick_Controls_FluentWinUI3_impl_qtquickcontrols2fluentwinui3styleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_FluentWinUI3_qtquickcontrols2fluentwinui3styleplugin_arm64-v8a.so, libqml_QtQuick_Controls_Fusion_impl_qtquickcontrols2fusionstyleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_Fusion_qtquickcontrols2fusionstyleplugin_arm64-v8a.so, libqml_QtQuick_Controls_Imagine_impl_qtquickcontrols2imaginestyleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_Imagine_qtquickcontrols2imaginestyleplugin_arm64-v8a.so, libqml_QtQuick_Controls_Material_impl_qtquickcontrols2materialstyleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_Material_qtquickcontrols2materialstyleplugin_arm64-v8a.so, libqml_QtQuick_Controls_Universal_impl_qtquickcontrols2universalstyleimplplugin_arm64-v8a.so, libqml_QtQuick_Controls_Universal_qtquickcontrols2universalstyleplugin_arm64-v8a.so, libqml_QtQuick_Controls_impl_qtquickcontrols2implplugin_arm64-v8a.so, libqml_QtQuick_Controls_qtquickcontrols2plugin_arm64-v8a.so, libqml_QtQuick_Effects_effectsplugin_arm64-v8a.so, libqml_QtQuick_Layouts_qquicklayoutsplugin_arm64-v8a.so, libqml_QtQuick_Shapes_qmlshapesplugin_arm64-v8a.so, libqml_QtQuick_Templates_qtquicktemplates2plugin_arm64-v8a.so, libqml_QtQuick_Window_quickwindowplugin_arm64-v8a.so, libqml_QtQuick_qtquick2plugin_arm64-v8a.so, libremote_arm64-v8a.so, libremote_frontend_arm64-v8a.so.> Task :mergeExtDexDebug > Task :packageDebug > Task :createDebugApkListingFileRedirect > Task :assembleDebugBUILD SUCCESSFUL in 5s 33 actionable tasks: 33 executed Android package built successfully in 8.517 ms. -- File: /home/qt/RTA/Qt_6.8.1/Examples/Qt-6.8.1/interfaceframework/remote/bld_arm64-v8a/android-build-remote//build/outputs/apk/debug/android-build-remote-debug.apk ninja: build stopped: subcommand failed.
Log says that it failed, but still it was able to create the Android package. If compiling with Qt 6.8.0 binaries, it will not print the FAILED part in the output.
Applies to all four Android architectures.