diff --git a/src/TaoQuickApp/App.rc b/src/TaoQuickApp/App.rc index 276a6c87..489189c2 100644 Binary files a/src/TaoQuickApp/App.rc and b/src/TaoQuickApp/App.rc differ diff --git a/src/TaoQuickApp/Src/TaoView.cpp b/src/TaoQuickApp/Src/TaoView.cpp index b5536302..7b777eb8 100644 --- a/src/TaoQuickApp/Src/TaoView.cpp +++ b/src/TaoQuickApp/Src/TaoView.cpp @@ -1,6 +1,10 @@ #include "TaoView.h" #include "Logger/Logger.h" -#include "Ver.h" +#ifdef VER_Utf16 +#include "Ver-u16.h" +#else +#include "Ver-u8.h" +#endif #include #include diff --git a/src/TaoQuickApp/TaoQuickApp.pri b/src/TaoQuickApp/TaoQuickApp.pri index 80fc6fd7..baa83106 100644 --- a/src/TaoQuickApp/TaoQuickApp.pri +++ b/src/TaoQuickApp/TaoQuickApp.pri @@ -1,15 +1,17 @@ +msvc { + HEADERS += $$PWD/Ver-u16.h + DEFINES += VER_Utf16 +} else { + HEADERS += $$PWD/Ver-u8.h +} + HEADERS += \ $$PWD/Src/ITaoQuickPlugin.h \ $$PWD/Src/Logger/Logger.h \ $$PWD/Src/Logger/LoggerTemplate.h \ $$PWD/Src/TaoView.h -msvc { - HEADERS += $$PWD/Ver.h -} -!msvc { - HEADERS += $$PWD/Ver-u8.h -} + SOURCES += \ $$PWD/Src/Logger/Logger.cpp \ $$PWD/Src/TaoView.cpp \ diff --git a/src/TaoQuickApp/Ver.h b/src/TaoQuickApp/Ver-u16.h similarity index 100% rename from src/TaoQuickApp/Ver.h rename to src/TaoQuickApp/Ver-u16.h