|
|
|
@ -483,7 +483,6 @@ void VcprojGenerator::init()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if( project->isActiveConfig("thread") ) {
|
|
|
|
|
project->variables()["DEFINES"] += "TQT_THREAD_SUPPORT";
|
|
|
|
|
project->variables()["QMAKE_LIBS"] += project->variables()["QMAKE_LIBS_QT_THREAD"];
|
|
|
|
|
} else {
|
|
|
|
|
project->variables()["QMAKE_LIBS"] += project->variables()["QMAKE_LIBS_QT"];
|
|
|
|
@ -1208,8 +1207,6 @@ void VcprojGenerator::initOld()
|
|
|
|
|
|
|
|
|
|
// THREAD --------------------------------------------------------
|
|
|
|
|
if ( project->isActiveConfig("thread") ) {
|
|
|
|
|
if(project->isActiveConfig("qt"))
|
|
|
|
|
project->variables()[is_qt ? "PRL_EXPORT_DEFINES" : "DEFINES"].append("TQT_THREAD_SUPPORT" );
|
|
|
|
|
if ( !project->variables()["DEFINES"].contains("QT_DLL") && is_qt
|
|
|
|
|
&& project->first("TARGET") != "qtmain" )
|
|
|
|
|
project->variables()["QMAKE_LFLAGS"].append("/NODEFAULTLIB:libc");
|
|
|
|
|