From 0c47e5f50ac7f616688b818e24220abc00c118f3 Mon Sep 17 00:00:00 2001 From: cbwu <504-wuchengbo@htsdfp.com> Date: Thu, 28 Nov 2024 14:33:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20.pro=E6=96=87=E4=BB=B6=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?QNotify=E5=8A=A8=E6=80=81=E5=BA=93debug=E5=92=8Crelease?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=BC=95=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PayloadAPP.pro | 22 ++++++++++++++++------ global.cpp | 2 +- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/PayloadAPP.pro b/PayloadAPP.pro index 959c331..b6f2486 100644 --- a/PayloadAPP.pro +++ b/PayloadAPP.pro @@ -14,7 +14,7 @@ QMAKE_PROJECT_DEPTH = 0 # QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" #程序版本 -VERSION = 1.1.0.0 +VERSION = 1.1.0.1 #程序版本 QMAKE_TARGET_COMPANY = "HTSDFP" @@ -64,11 +64,21 @@ LIBS += -L$$PWD/3rdparty/ffmpeg/lib \ -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc \ -lswresample -lswscale -LIBS += -L$$PWD/3rdparty/QNotify/lib \ - -lQNotifyd -# win32 { -# LIBS += -luser32 -# } + +# Windows +win32 { + # LIBS += -luser32 + CONFIG(debug, debug|release){ +#debug + LIBS += -L$$PWD/3rdparty/QNotify/lib \ + -lQNotifyd + } + else:CONFIG(release, debug|release){ +#release + LIBS += -L$$PWD/3rdparty/QNotify/lib \ + -lQNotify + } +} include($$PWD/Src/HomePage/HomePage.pri) include($$PWD/Src/WebPage/WebPage.pri) diff --git a/global.cpp b/global.cpp index 8ebc371..367cd8e 100644 --- a/global.cpp +++ b/global.cpp @@ -2,7 +2,7 @@ global::global() {} -QString g_SoftwareVersion = "版本号:V1.1.0.0_20241127"; +QString g_SoftwareVersion = "版本号:V1.1.0.1_20241128"; NotifyManager *g_notifyManager = nullptr;