diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /qmake/generators/win32/msvc_vcproj.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qmake/generators/win32/msvc_vcproj.cpp')
-rw-r--r-- | qmake/generators/win32/msvc_vcproj.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 40034ace5..999b05f04 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -648,8 +648,8 @@ void VcprojGenerator::initConfiguration() if (!project->variables()["QMAKE_CXXFLAGS_RELEASE"].contains("Gm") && project->variables()["QMAKE_CXXFLAGS_DEBUG"].contains("Gm")) RConf.compiler.parseOption("-Gm-"); - if (RConf.compiler.PreprocessorDefinitions.findIndex("QT_NO_DEBUG") == -1) - RConf.compiler.PreprocessorDefinitions += "QT_NO_DEBUG"; + if (RConf.compiler.PreprocessorDefinitions.findIndex("TQT_NO_DEBUG") == -1) + RConf.compiler.PreprocessorDefinitions += "TQT_NO_DEBUG"; } else { DConf.IntermediateDirectory = DConf.compiler.AssemblerListingLocation = @@ -659,7 +659,7 @@ void VcprojGenerator::initConfiguration() DConf.linker.DelayLoadDLLs.clear(); DConf.compiler.parseOptions(project->variables()["QMAKE_CFLAGS_DEBUG"]); DConf.compiler.parseOptions(project->variables()["QMAKE_CXXFLAGS_DEBUG"]); - DConf.compiler.PreprocessorDefinitions.remove("QT_NO_DEBUG"); + DConf.compiler.PreprocessorDefinitions.remove("TQT_NO_DEBUG"); } // Add Debug configuration to project @@ -704,7 +704,7 @@ void VcprojGenerator::initCompilerTool() // Release version RConf.compiler.parseOptions( project->variables()["QMAKE_CXXFLAGS"] ); RConf.compiler.parseOptions( project->variables()["QMAKE_CXXFLAGS_RELEASE"] ); - RConf.compiler.PreprocessorDefinitions += "QT_NO_DEBUG"; + RConf.compiler.PreprocessorDefinitions += "TQT_NO_DEBUG"; RConf.compiler.PreprocessorDefinitions += "NDEBUG"; if ( project->isActiveConfig("thread") ) { if ( (projectTarget == Application) || (projectTarget == StaticLib) ) |