From b31ed09a948dca54b2d4b48811ab9d453bb892f2 Mon Sep 17 00:00:00 2001 From: jared Date: Wed, 18 Dec 2019 14:03:49 +0800 Subject: [PATCH] update version file --- src/TaoQuickApp/App.rc | Bin 2672 -> 2580 bytes src/TaoQuickApp/Src/TaoView.cpp | 6 +++++- src/TaoQuickApp/TaoQuickApp.pri | 14 ++++++++------ src/TaoQuickApp/{Ver.h => Ver-u16.h} | Bin 4 files changed, 13 insertions(+), 7 deletions(-) rename src/TaoQuickApp/{Ver.h => Ver-u16.h} (100%) diff --git a/src/TaoQuickApp/App.rc b/src/TaoQuickApp/App.rc index 276a6c87ffb72a354fc30830437f6d43ebe817f9..489189c2236d077598042241a44a909c38b8dae0 100644 GIT binary patch delta 443 zcmew$GDT#946iOjDT5({8G{}}27}T>W!;HETHIU=$_%LtISj=NsS^WbC$8Y(hlu1c zq%dSMq%m+!JXy}jHQANX5=b6o7M?tfv1Bq2Q_ti>%tDjpn7JlDVB(m(k4bCtD<&DJ z3OQyaUM>bCgTeabn0Z7E7%CVH7<`~|P%FT)^O%)@CTf99ox~y`%*CJpg-#5v4DJk` z41SX*vItLJ!@@T?fJJWdBo-lVxC{dqP|g}CCc}zR4=APCzLs2v=qM&60tva(4Gi44UIsSF@-I|g0`E(T>FF9$3JRG=ve z6Ut*qVaQ}i11sU3c(|MuB*8n`n$Z% zaA9y|aAF8$aEBNJR3|%GfLTHqY!<5BAUSCT1_Oo)AohW~4DO7{narj@o8~fW1IgoH z@*}e-ke$dPJh_I2Z?YPT9E8X31hmzi!IQxcYHK2kHCRTL6D~g4kkxSV2NoxwxFKsZ zn6#YyhSdnnGMwzk<_2U5vRh9+$L0cNLDU#dKEfUbRkMeKZ*l~O37qEuWF@jlPd4CW xgN6{uWvD!mJ0mzHz$%5YxKnzv0~_DuZJZ!?Ky^#O!b$-cq9EuB^p^|RX8=BPS%Clm 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