windows compile options
authorAlexander von Renteln <phon@quassel-irc.org>
Wed, 2 Apr 2008 16:40:27 +0000 (16:40 +0000)
committerAlexander von Renteln <phon@quassel-irc.org>
Wed, 2 Apr 2008 16:40:27 +0000 (16:40 +0000)
build/buildconf.pri
build/targets/target.pri

index 458d352..0464dce 100644 (file)
@@ -7,6 +7,6 @@ release {
   CONFIG *= debug
 }
 
-win32 { 
+win32:static { 
   CONFIG = release warn_on uic resources qt windows static
 }
index 428daef..e3b4f6d 100644 (file)
@@ -31,11 +31,14 @@ SOURCES = $$SRCPATH/common/main.cpp
 # This is really annoying, but for some reason win32 libs are not included by default.
 # Ugly workaround following...
 
-win32 {
+win32:static {
   RC_FILE = win32.rc
   CONFIG += embed_manifest_exe
   LIBS *= -luser32 -lgdi32 -lkernel32 -lshell32 -lwsock32 -lwinspool -lcomdlg32 -lole32
   LIBS *= -ladvapi32 -limm32 -luuid -lwinmm -ldelayimp -lopengl32 -lglu32 -loleaut32 -lws2_32
+  LIBS *= -llibeay32MT -lssleay32MT
+  QMAKE_LFLAGS_WINDOWS += /nodefaultlib:"libcmt.lib"
+
 }
 
 macx {