Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Qt 4.8.5 cross compile for ARM help

$
0
0
This is what I have tried so far.. few days and don’t succeed yet. I managed to install and verify a GCC toolchain in windows. gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 A working MinGW MinGW-gcc-4.4.0-2.7 I used qt-everywhere-opensource-src-4.8.5 and actually, configure it’s working … Qt is now configured for building. To start the build run:mingw32-make. i used: ..\qt-everywhere-opensource-src-4.8.5\configure -fast -prefix C:\Qt-build\build -opensource -confirm-license -no-phonon -xplatform qws/linux-arm-gnueabi-g++ -arch arm -neon -no-mmx -no-3dnow -no-opengl -no-sse -no-sse2 -no-cups -no-accessibility -no-openssl -fast -little-endian -no-webkit -no-qt3support -no-vcproj -no-dsp -nomake examples -nomake demos -nomake docs -nomake translations But mingw32-make fails at core step: … … C:/Qt-build/build/bin/moc.exe -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\”\” -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -I”..\..\include” -I”..\..\include\QtCore” -I“tmp\rcc\debug_shared” -I“global” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\tools\shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\zlib” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\harfbuzz\src” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md5” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md4” -I“tmp\moc\debug_shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib” -I”.” -I”..\..\mkspecs\qws\linux-arm-gnueabi-g++” c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib\statemachine\qabstracttransition.h -o tmp\moc\debug_shared\moc_qabstracttransition.cpp C:/Qt-build/build/bin/moc.exe -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\”\” -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -I”..\..\include” -I”..\..\include\QtCore” -I“tmp\rcc\debug_shared” -I“global” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\tools\shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\zlib” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\harfbuzz\src” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md5” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md4” -I“tmp\moc\debug_shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib” -I”.” -I”..\..\mkspecs\qws\linux-arm-gnueabi-g++” c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib\statemachine\qsignaltransition.h -o tmp\moc\debug_shared\moc_qsignaltransition.cpp C:/Qt-build/build/bin/moc.exe -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\”\” -DQLIBRARYINFO_EPOCROOT -DHB_EXPORT=Q_CORE_EXPORT -I”..\..\include” -I”..\..\include\QtCore” -I“tmp\rcc\debug_shared” -I“global” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\tools\shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\zlib” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\harfbuzz\src” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md5” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\3rdparty\md4” -I“tmp\moc\debug_shared” -I“c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib” -I”.” -I”..\..\mkspecs\qws\linux-arm-gnueabi-g++” c:\Qt-build\qt-everywhere-opensource-src-4.8.5\src\corelib\statemachine\qeventtransition.h -o tmp\moc\debug_shared\moc_qeventtransition.cpp arm-linux-gnueabihf-g++ Wl,-rpath,C:/Qt-build/build/lib -Wl,-no-undefined -Wl,-e,qt_core_boilerplate -o ..\..\lib\libcorelib.a .libcorelib -L“c:\Qt-build\build\lib” -L“c:\Qt-build\build\lib” -lpthread -lm -ldl c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find ./tmp\obj\debug_shared\qabstractanimation.obj c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find ./tmp\obj\debug_shared\qvariantanimation.obj c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find ./tmp\obj\debug_shared\qpropertyanimation.obj c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find ./tmp\obj\debug_shared\qanimationgroup.obj c:/program files/linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.11/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find ./tmp\obj\debug_shared\qsequentialanimationgroup.obj c:/p … … It looks like this folder is empty, no objs are created so linker fails: C:\Qt-build\build\src\corelib\tmp\obj\debug_shared But cpp are generated C:\Qt-build\build\src\corelib\tmp\moc\debug_shared I tried to make the corelib alone and (obvious) the same error /tmp\obj\debug_shared\*.obj this objects are mising, so I suspect nobody compiles them. Please give a hint, thanks in advance.

Viewing all articles
Browse latest Browse all 13965

Trending Articles