Use TDM's gcc mingw32 compiler on Windows. (Tired of waiting for official mingw releases.) There is still a small Qt issue (will be patched from the build script) and a boost date_time issue in the server (will also be patched from the build script). Anyway, this is finally gcc 4.3 on Windows :-). Hooray!

This commit is contained in:
lotodore
2009-02-16 15:51:46 +00:00
parent 82b758e5a7
commit 24c0ceb7b6
3 changed files with 43 additions and 43 deletions
+12 -12
View File
@@ -134,12 +134,12 @@ win32 {
LIBS += -lgnutls-openssl -lgnutls -lgcrypt -ltasn1 -lgpg-error
LIBS += -lcurl
LIBS += -lz
LIBS += -llibboost_thread-mgw34-mt-1_37
LIBS += -llibboost_filesystem-mgw34-mt-1_37
LIBS += -llibboost_system-mgw34-mt-1_37
LIBS += -llibboost_iostreams-mgw34-mt-1_37
LIBS += -llibboost_zlib-mgw34-mt-1_37
LIBS += -llibboost_program_options-mgw34-mt-1_37
LIBS += -llibboost_thread-mgw43-mt-1_37
LIBS += -llibboost_filesystem-mgw43-mt-1_37
LIBS += -llibboost_system-mgw43-mt-1_37
LIBS += -llibboost_iostreams-mgw43-mt-1_37
LIBS += -llibboost_zlib-mgw43-mt-1_37
LIBS += -llibboost_program_options-mgw43-mt-1_37
}
LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32 -lwldap32
@@ -169,11 +169,11 @@ unix : !mac {
BOOST_PROGRAM_OPTIONS = boost_program_options boost_program_options-mt
BOOST_IOSTREAMS = boost_iostreams boost_iostreams-mt
#
# searching in $PREFIX/lib and $PREFIX/lib64
# to override the default '/usr' pass PREFIX
# variable to qmake.
#
#
# searching in $PREFIX/lib and $PREFIX/lib64
# to override the default '/usr' pass PREFIX
# variable to qmake.
#
for(dir, LIB_DIRS){
exists($$dir){
for(lib, BOOST_THREAD){
@@ -204,7 +204,7 @@ unix : !mac {
}
BOOST_LIBS = $$BOOST_THREAD $$BOOST_FS $$BOOST_PROGRAM_OPTIONS $$BOOST_IOSTREAMS
!count(BOOST_LIBS, 4){
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
error("Unable to find boost libraries in PREFIX=$${PREFIX}")
}
UNAME = $$system(uname -s)