Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Building Qt 5.5 for Android on a Ubuntu 64-bit workstation

$
0
0
Hi, I’m trying to build Qt 5.5 from source and get the following problem on Ubuntu workstations. Note: I tried the same thing with the same source tree on my MacOSX, and it builds fine. The problem seems that the builder is using the incorrect compiler (using g++ instead of the correct arm-linux-androidabi-g++). On the Mac, the correct compiler is being used. distcc g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums DANDROID -Wa,-noexecstack -fno-builtin-memmove -std=c++11 -g -g -marm -O0 -fno-omit-frame-pointer -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wno-psabi -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0×050000 -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.5.0 -I../../include/QtCore/5.5.0/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/forkfd -I.moc -isystem /home/vngthowhing/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/vngthowhing/android-ndk-r10d/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem /home/vngthowhing/android-ndk-r10d/platforms/android-9/arch-arm/usr/include -I../../mkspecs/android-g++ tools/qstring_compat.cpp -o .obj/qstring_compat.o distcc22518 (dcc_build_somewhere) Warning: failed to distribute, running locally instead g++: error: unrecognized command line option ‘-mfloat-abi=softfp’ g++: error: unrecognized command line option ‘-mfpu=vfp’ g++: error: unrecognized command line option ‘-marm’

Viewing all articles
Browse latest Browse all 2113

Trending Articles