tianzhendong
4 months ago
4 changed files with 64 additions and 37 deletions
@ -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 |
Loading…
Reference in new issue