mkspecs/features/win32/thread.prf
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 CONFIG -= thread_off
       
     2 qt {
       
     3   target_qt:PRL_EXPORT_DEFINES += QT_THREAD_SUPPORT
       
     4   else:DEFINES += QT_THREAD_SUPPORT
       
     5 }
       
     6 
       
     7 # #### These need to go
       
     8 debug {
       
     9   contains(DEFINES, QT_DLL) {
       
    10      QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLLDBG
       
    11      QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLLDBG
       
    12   } else {
       
    13      QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DBG
       
    14      QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DBG
       
    15  }
       
    16 } else {
       
    17  contains(DEFINES, QT_DLL) {
       
    18      QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT_DLL
       
    19      QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT_DLL
       
    20  } else {
       
    21      QMAKE_CFLAGS += $$QMAKE_CFLAGS_MT
       
    22      QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_MT
       
    23  }
       
    24 }
       
    25 
       
    26 win32-msvc|win32-msvc.net {
       
    27   !contains(DEFINES, QT_DLL):!target_qt:!isEqual(TARGET, qtmain):QMAKE_LFLAGS += /NODEFAULTLIB:"libc"
       
    28 }
       
    29 
       
    30 QMAKE_LIBS += $$QMAKE_LIBS_RTMT