summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/win32/thread.prf
blob: 76354a820029ac50629f44236e6890b244dee156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
 }
}

QMAKE_LIBS += $$QMAKE_LIBS_RTMT