Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.1.0
-
None
-
Android Arm7- xbuild on Ubuntu 32 bit
Description
Tried the static build for android:
./configure -static -prefix $PWD/qtbase -no-rpath -release -xplatform android-g++ -fontconfig -opengl es2 -nomake tests -compile-examples -nomake examples -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples
Which produces this error:
/home/jokeman/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ --sysroot=/home/jokeman/android-ndk-r8e/platforms/android-14/arch-arm/ -Wl,-soname,libqmlscene.so -Wl,-rpath-link=/home/jokeman/qt-android-5.1.1-rc1-static/qtbase/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o /home/jokeman/qt-android-5.1.1-rc1-static/qtbase/bin/libqmlscene.so .obj/release-static/main.o .obj/release-static/libqmlscene.so_plugin_import.o -L/home/jokeman/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a -L/home/jokeman/android-ndk-r8e/platforms/android-14/arch-arm//usr/lib -L/home/jokeman/qt-android-5.1.1-rc1-static/qtbase/lib -lQt5Quick -lQt5Qml -lQt5V8 -lQt5Widgets -lQt5Network -lQt5Gui -lEGL -lQt5Core -lgnustl_shared -lsupc++ -llog -lc -lgcc -lz -lm -ldl -lqandroid -lGLESv2 /home/jokeman/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lqandroid collect2: error: ld returned 1 exit status
Looks it must be missing an include path for the plugin, or maybe the name changed?
Attachments
Issue Links
- is duplicated by
-
QTBUG-99108 Probably broken static build
- Closed
- replaces
-
QTBUG-47455 androiddeployqt tool expecting wrong libraries for static Qt
- Closed