changeset 949:0abacb0fd564

Document and use minimized qt and document curl build for windows
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 27 Aug 2014 10:40:41 +0200
parents 3baee3445502
children b2763af94c82
files INSTALL ui/CMakeLists.txt
diffstat 2 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/INSTALL	Wed Aug 27 10:40:06 2014 +0200
+++ b/INSTALL	Wed Aug 27 10:40:41 2014 +0200
@@ -191,11 +191,12 @@
 
 Build the windows binaries:
     MXEPATH=$YOURPREFIX/win
-    git clone https://github.com/mxe/mxe.git $MXEPATH
+    git clone https://github.com/Intevation/mxe.git $MXEPATH
     cd $MXEPATH
     echo "MXE_TARGETS := i686-w64-mingw32.static" > settings.mk
     make polarssl
     make qtbase
+(optional) make curl
 
 Workaround Qt CMake Bugs:
     find $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake -name \*.cmake | \
@@ -203,10 +204,6 @@
     sed -i 's/^_qt5gui_find_extra_libs.*//' \
         $MXEPATH/usr/i686-w64-mingw32.static/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
 
-Make an NSS build available in the MXE prefix:
-    # TODO -> Document how to build NSS,..
-    cp -r <magic nss folder> $MXEPATH/usr/i686-w64-mingw32.static/
-
 Compile the software:
     cd trustbridge
     mkdir build-windows
--- a/ui/CMakeLists.txt	Wed Aug 27 10:40:06 2014 +0200
+++ b/ui/CMakeLists.txt	Wed Aug 27 10:40:41 2014 +0200
@@ -101,10 +101,10 @@
    get_filename_component(_qtpath ${_loc} PATH)
    set(WINDOWS_EXTRA_LIBS
         -L${_qtpath}
-        -lwinspool -lshlwapi -lfreetype -lbz2 -lpng16
+        -lwinspool -lshlwapi
         -lQt5PlatformSupport -lQt5Gui -lcomdlg32 -loleaut32 -limm32 -lwinmm
-        -lglu32 -lopengl32 -lgdi32 -ljpeg -lpng -lQt5Core -lole32 -lmstask -luuid -lws2_32
-        -ladvapi32 -lshell32 -luser32 -lkernel32 -lz -lsicuin -lsicuuc -lsicudt -lpcre16)
+        -lglu32 -lopengl32 -lgdi32 -lQt5Core -lole32 -lmstask -luuid -lws2_32
+        -ladvapi32 -lshell32 -luser32 -lkernel32 -lpcre16)
 
    set(EXTRA_STATIC_LIBS Qt5::QWindowsIntegrationPlugin ${WINDOWS_EXTRA_LIBS} -lwinhttp -lcrypt32)
 

http://wald.intevation.org/projects/trustbridge/