Mercurial > retraceit
comparison INSTALL @ 76:c92502dae3f9
Add note about generated QT CMake build files.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 27 May 2015 09:32:23 +0200 |
parents | 1215ce843c07 |
children | 6965fb5db4b7 |
comparison
equal
deleted
inserted
replaced
75:16ae3e7338b3 | 76:c92502dae3f9 |
---|---|
67 | 67 |
68 Add CMAKE_STRIP to the toolchain file: | 68 Add CMAKE_STRIP to the toolchain file: |
69 | 69 |
70 echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \ | 70 echo "set(CMAKE_STRIP $MXEPATH/usr/bin/i686-w64-mingw32.static-strip)" >> \ |
71 "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake" | 71 "$MXEPATH/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake" |
72 | |
73 Workaround Qt CMake Bugs: | |
74 | |
75 find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \ | |
76 xargs sed -i 's/\/\([a-z]*\)\.lib/\/lib\1\.a/g' | |
77 sed -i 's/^_qt5gui_find_extra_libs.*//' \ | |
78 $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake | |
72 | 79 |
73 Compile the software (assuming the source code is already checked out. If not | 80 Compile the software (assuming the source code is already checked out. If not |
74 please refer to the GNU/Linux build documentation how to obtain the source | 81 please refer to the GNU/Linux build documentation how to obtain the source |
75 code): | 82 code): |
76 | 83 |