From eba679c78a98e8589518626841ca9a21bfed4e82 Mon Sep 17 00:00:00 2001 From: jared Date: Thu, 5 Dec 2024 11:29:34 +0800 Subject: [PATCH] update for visual studio macro --- examples/TaoQuickShow/Src/AppInfo.cpp | 4 ++++ examples/TaoQuickShow/TaoQuickShow.vcxproj | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/TaoQuickShow/Src/AppInfo.cpp b/examples/TaoQuickShow/Src/AppInfo.cpp index 08c38e5..803eae5 100644 --- a/examples/TaoQuickShow/Src/AppInfo.cpp +++ b/examples/TaoQuickShow/Src/AppInfo.cpp @@ -1,6 +1,10 @@ #include "AppInfo.h" #include "Ver-u8.h" + +#ifdef USE_VISUAL_STUDIO #include "taoVersionInfo.h" +#endif + #include #include AppInfo::AppInfo(QObject* parent) diff --git a/examples/TaoQuickShow/TaoQuickShow.vcxproj b/examples/TaoQuickShow/TaoQuickShow.vcxproj index 04e531b..120c5bc 100644 --- a/examples/TaoQuickShow/TaoQuickShow.vcxproj +++ b/examples/TaoQuickShow/TaoQuickShow.vcxproj @@ -132,14 +132,14 @@ Default - TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions) + TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";USE_VISUAL_STUDIO;%(PreprocessorDefinitions) /utf-8 %(AdditionalOptions) Default - TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";%(PreprocessorDefinitions) + TaoCommon_NO_LIB;TaoQuickShowPath="qrc:/";TaoQuickImportPath="qrc:/";USE_VISUAL_STUDIO;%(PreprocessorDefinitions) /utf-8 %(AdditionalOptions)