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

Cross compiling qt5 -platform win32-g++ -xplatform linux-arm-gnueabi-g++. It works on windows ?

$
0
0
At the beginning of my post write that I was able to compile Qt 5.2 in Ubuntu without any problems. Cross compiling works very well. But I have problem with windows. I try cross compiling qt5 -platform win32-g++ -xplatform linux-arm-gnueabi-g++ [try_0001] My configure.bat and qmake.conf https://github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/tree/master/try_0001 Problems: – configure.exe generate wrong qconfig.cpp No entry QT_CONFIGURE_SETTINGS_PATH and qt_configure_settings_path_str Compilation stops due to lack of these entries - qmake.exe generate wrong Makfile https://raw.github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/master/try_0001/out/Makefile TARGET = libQt5Core5.dll (linux and DLL ;)) [try_0002] My configure.bat https://github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/blob/master/try_0002/03_configure.bat I use orginal qtbase\mkspecs\linux-arm-gnueabi-g++\qmake.conf _Problems: _qmake.exe generate wrong Makefile in linux format (for example command “test” to check if directory exists, “rm -f” etc…) But make.exe in mingw/msys “spins in circles” :( $ make make[1]: Entering directory `/d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase' make[2]: Entering directory `/d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase' ... make[999999]: Entering directory `/d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase' Hmmm !

Viewing all articles
Browse latest Browse all 2113

Trending Articles