Details
Description
- Download and install the latest 5.9.1 snapshot with --setTempRepository
- Run QtCreator and make sure you have Android kit set
- Configure any example from the Welcome screen for Android target (tested with 'wiggly' and 'gallery')
- Build the example
Expected result:
The example builds without errors.
Actual result:
A build error occurs:
13:17:17: Running steps for project wiggly... 13:17:17: Configuration unchanged, skipping qmake step. 13:17:17: Starting: "/usr/bin/make" /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../wiggly -I. -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -o wigglywidget.o ../wiggly/wigglywidget.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../wiggly -I. -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -o dialog.o ../wiggly/dialog.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../wiggly -I. -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -o main.o ../wiggly/main.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h /home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/features/data/dummy.cpp /home/qt/tmp/qt591/5.9.1/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -I/home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/wiggly -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include ../wiggly/wigglywidget.h -o moc_wigglywidget.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../wiggly -I. -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -o moc_wigglywidget.o moc_wigglywidget.cpp /home/qt/tmp/qt591/5.9.1/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -I/home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/wiggly -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include ../wiggly/dialog.h -o moc_dialog.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../wiggly -I. -I/home/qt/tmp/qt591/5.9.1/android_armv7/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtWidgets -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtGui -I/home/qt/tmp/qt591/5.9.1/android_armv7/include/QtCore -I. -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/usr/include -I/home/qt/tmp/qt591/5.9.1/android_armv7/mkspecs/android-g++ -o moc_dialog.o moc_dialog.cpp /home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm/ -Wl,-soname,libwiggly.so -Wl,-rpath=/home/qt/tmp/qt591/5.9.1/android_armv7/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libwiggly.so wigglywidget.o dialog.o main.o moc_wigglywidget.o moc_dialog.o -L/home/qt/android_env/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/qt/android_env/android-ndk-r13b/platforms/android-16/arch-arm//usr/lib -L/home/qt/android_env/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x -L/home/qt/tmp/qt591/5.9.1/android_armv7/lib -lQt5Widgets -L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/opt/android/ndk/platforms/android-16/arch-arm//usr/lib -L/opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -lQt5Gui -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc 13:17:21: The process "/usr/bin/make" exited normally. 13:17:21: Starting: "/usr/bin/make" INSTALL_ROOT=/home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build install /home/qt/tmp/qt591/5.9.1/android_armv7/bin/qmake -install qinstall -exe libwiggly.so /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build/home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/wiggly/libwiggly.so 13:17:21: The process "/usr/bin/make" exited normally. 13:17:21: Starting: "/home/qt/tmp/qt591/5.9.1/android_armv7/bin/androiddeployqt" --input /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-libwiggly.so-deployment-settings.json --output /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build --deployment bundled --android-platform android-25 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --ant /home/qt/apache-ant-1.9.9/bin/ant Application binary is not in output directory: /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build//libs/armeabi-v7a/libwiggly.so. Please run 'make install INSTALL_ROOT=/home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build/' first. Generating Android Package Input file: /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-libwiggly.so-deployment-settings.json Output directory: /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/android-build/ Application binary: /home/qt/tmp/qt591/Examples/Qt-5.9.1/widgets/widgets/build-wiggly-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_1_for_Android_armv7-Debug/libwiggly.so Android build platform: android-25 Install to device: No 13:17:21: The process "/home/qt/tmp/qt591/5.9.1/android_armv7/bin/androiddeployqt" exited with code 7. Error while building/deploying project wiggly (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.1 for Android armv7)) When executing step "Build Android APK" 13:17:21: Elapsed time: 00:04.
Attachments
Issue Links
- resulted from
-
QTBUG-38452 Android: make install in qttools fails because of install path
- Open
- mentioned in
-
Page Loading...