This commit is contained in:
2024-08-04 19:17:04 +08:00
parent f700664636
commit d366556106
4 changed files with 64 additions and 37 deletions
+27
View File
@@ -0,0 +1,27 @@
QT += core
TEMPLATE = lib
DEFINES += MYLOGGER_LIBRARY
CONFIG += c++17
INCLUDEPATH += $$PWD/
DESTDIR = $$PWD/../../Build/Libs
MOC_DIR = $$PWD/Build/moc
OBJECTS_DIR = $$PWD/Build/objs
RCC_DIR = $$PWD/Build/resources
UI_DIR = $$PWD/Build/ui
#在release下输出debug信息
DEFINES += QT_MESSAGELOGCONTEXT
HEADERS += \
$$PWD/loghandler.h
SOURCES += \
$$PWD/loghandler.cpp
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target