mkspecs/features/win32/thread.prf
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:40:16 +0200
branchRCL_3
changeset 4 3b1da2848fc7
parent 0 1918ee327afb
permissions -rw-r--r--
Revision: 201003 Kit: 201007

CONFIG -= thread_off
qt {
  target_qt:PRL_EXPORT_DEFINES += QT_THREAD_SUPPORT
  else:DEFINES += QT_THREAD_SUPPORT
}

# #### These need to go
debug {
  contains(DEFINES, QT_DLL) {
     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLLDBG
     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLLDBG
  } else {
     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DBG
     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DBG
 }
} else {
 contains(DEFINES, QT_DLL) {
     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLL
     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLL
 } else {
     QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT
     QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT
 }
}

win32-msvc|win32-msvc.net {
  !contains(DEFINES, QT_DLL):!target_qt:!isEqual(TARGET, qtmain):QMAKE_LFLAGS += /NODEFAULTLIB:"libc"
}

QMAKE_LIBS += $$QMAKE_LIBS_RTMT