Trying to get the build system work with static MSVC builds...
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 29 Jan 2008 14:28:53 +0000 (14:28 +0000)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 29 Jan 2008 14:28:53 +0000 (14:28 +0000)
build/buildconf.pri
build/targets/target.pri

index 2733ad9..85c2169 100644 (file)
@@ -1,2 +1,2 @@
-CONFIG = debug warn_on uic resources qt
+CONFIG += debug warn_on uic resources qt
 # CONFIG += incremental link_prl nostrip qt_no_framework
index 1f023b2..7b8c44b 100644 (file)
@@ -21,3 +21,13 @@ PRE_TARGETDEPS *= ../../version.inc
 #include(../contrib/contrib.pri)
 
 SOURCES = $$SRCPATH/common/main.cpp
+
+# This is really annoying, but for some reason win32 libs are not included by default.
+# Ugly workaround following...
+
+win32 {
+  CONFIG += embed_manifest_exe
+  LIBS *= -luser32 -lgdi32 -lkernel32 -lshell32 -lwsock32 -lwinspool -lcomdlg32 -lole32
+  LIBS *= -ladvapi32 -limm32 -luuid -lwinmm -ldelayimp -lopengl32 -lglu32 -loleaut32 -lws2_32
+}
+