ons. 14. okt. 2020 kl. 19:55 skrev Richard Weickelt <rich...@weickelt.de>:
> Qt Creator is not part of the tests. We run everything with Qbs only on the > command line in a Docker image. > > Thanks!! Some progress now: first, if I set these two additional properties in the Qbs-part of the kit, I get further building: Android.sdk.buildToolsVersion: 29.0.2 Android.sdk.platform: android-29 These two were empty when checking them for the kit used, so the build part calling "aidl" failed. Also, the Qt Creator wizard setting up an empty Qt Quick project for Qbs creates it with a CppApplication item, depending only on Qt.quick. This caused a further problem "cannot find application binary". Fixed by using the QtApplication item instead (just depending on Qt.core does not help). Now, the build fails because "Some input files use or override a deprecated API" (I'll paste the build output below...) Best regards, Ola Generating Android Package Input file: /home/olathorsen/src/build-androidtest-Android_Qt_5_14_2_Clang_Multi_Abi-Release/Release_Android__97aac75243e7a13e/androidtest.48600a3e/androiddeployqt.json Output directory: /home/olathorsen/src/build-androidtest-Android_Qt_5_14_2_Clang_Multi_Abi-Release/Release_Android__97aac75243e7a13e/androidtest.48600a3e/deployqt_out/ Application binary: androidtest Android build platform: android-29 Install to device: No -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/iconengines/libplugins_iconengines_qsvgicon_arm64-v8a.so. It has unmet dependencies: lib/libQt5Svg_arm64-v8a.so,lib/libQt5Widgets_arm64-v8a.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/imageformats/libplugins_imageformats_qsvg_arm64-v8a.so. It has unmet dependencies: lib/libQt5Svg_arm64-v8a.so,lib/libQt5Widgets_arm64-v8a.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/iconengines/libplugins_iconengines_qsvgicon_x86_64.so. It has unmet dependencies: lib/libQt5Svg_x86_64.so,lib/libQt5Widgets_x86_64.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/imageformats/libplugins_imageformats_qsvg_x86_64.so. It has unmet dependencies: lib/libQt5Svg_x86_64.so,lib/libQt5Widgets_x86_64.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/iconengines/libplugins_iconengines_qsvgicon_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/imageformats/libplugins_imageformats_qsvg_armeabi-v7a.so. It has unmet dependencies: lib/libQt5Svg_armeabi-v7a.so,lib/libQt5Widgets_armeabi-v7a.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/iconengines/libplugins_iconengines_qsvgicon_x86.so. It has unmet dependencies: lib/libQt5Svg_x86.so,lib/libQt5Widgets_x86.so. -- Skipping /home/olathorsen/Qt/5.14.2/android/plugins/imageformats/libplugins_imageformats_qsvg_x86.so. It has unmet dependencies: lib/libQt5Svg_x86.so,lib/libQt5Widgets_x86.so. processing androiddeployqt outout [androidtest] Stripping unneeded symbols from deployed qt libraries [androidtest] processing resources [androidtest] Error: Process '/usr/lib/jvm/java-8-openjdk-amd64/bin/java' finished with exit code 1. The standard output was: [ ] The standard error output was: /home/olathorsen/src/build-androidtest-Android_Qt_5_14_2_Clang_Multi_Abi-Release/Release_Android__97aac75243e7a13e/androidtest.48600a3e/gen/com/example/androidtest/BuildConfig.java:2: error: duplicate class: com.example.androidtest.BuildConfig public final class BuildConfig { ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error The following products could not be built for configuration Release_Android__97aac75243e7a13e: androidtest
_______________________________________________ Qbs mailing list Qbs@qt-project.org https://lists.qt-project.org/listinfo/qbs