fix: .pro文件修复QNotify动态库debug和release模式下引用问题

shiyi
cbwu 4 months ago
parent 8adacff1c3
commit 0c47e5f50a

@ -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)

@ -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;

Loading…
Cancel
Save