mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Update QsLog to 2.1 snapshot 46b643d5bcbc
This commit is contained in:
33
third_party/QsLog/QsLog.pri
vendored
33
third_party/QsLog/QsLog.pri
vendored
@ -1,22 +1,41 @@
|
||||
INCLUDEPATH += $$PWD
|
||||
#DEFINES += QS_LOG_LINE_NUMBERS # automatically writes the file and line for each log message
|
||||
#DEFINES += QS_LOG_DISABLE # logging code is replaced with a no-op
|
||||
#DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread
|
||||
#DEFINES += QS_LOG_LINE_NUMBERS # automatically writes the file and line for each log message
|
||||
#DEFINES += QS_LOG_DISABLE # logging code is replaced with a no-op
|
||||
#DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread
|
||||
#DEFINES += QS_LOG_WIN_PRINTF_CONSOLE # Use fprintf instead of OutputDebugString on Windows
|
||||
#DEFINES += QS_LOG_WINDOW # allows easily showing log messages in a UI
|
||||
|
||||
contains(DEFINES, QS_LOG_WINDOW) {
|
||||
message("Will include log window destination")
|
||||
QT += gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
SOURCES += $$PWD/QsLogWindow.cpp \
|
||||
$$PWD/QsLogWindowModel.cpp
|
||||
HEADERS += $$PWD/QsLogWindow.h \
|
||||
$$PWD/QsLogWindowModel.h
|
||||
FORMS += $$PWD/QsLogWindow.ui
|
||||
RESOURCES += $$PWD/QsLogWindow.qrc
|
||||
}
|
||||
|
||||
SOURCES += $$PWD/QsLogDest.cpp \
|
||||
$$PWD/QsLog.cpp \
|
||||
$$PWD/QsLogDestConsole.cpp \
|
||||
$$PWD/QsLogDestFile.cpp \
|
||||
$$PWD/QsLogDestFunctor.cpp
|
||||
$$PWD/QsLogDestFunctor.cpp \
|
||||
$$PWD/QsLogMessage.cpp \
|
||||
$$PWD/QsLogLevel.cpp
|
||||
|
||||
HEADERS += $$PWD/QSLogDest.h \
|
||||
HEADERS += $$PWD/QsLogDest.h \
|
||||
$$PWD/QsLog.h \
|
||||
$$PWD/QsLogDestConsole.h \
|
||||
$$PWD/QsLogLevel.h \
|
||||
$$PWD/QsLogDestFile.h \
|
||||
$$PWD/QsLogDisableForThisFile.h \
|
||||
$$PWD/QsLogDestFunctor.h
|
||||
$$PWD/QsLogDestFunctor.h \
|
||||
$$PWD/QsLogMessage.h \
|
||||
$$PWD/QsLogSharedLibrary.h
|
||||
|
||||
OTHER_FILES += \
|
||||
$$PWD/QsLogChanges.txt \
|
||||
$$PWD/QsLogReadme.txt \
|
||||
$$PWD/README.md \
|
||||
$$PWD/LICENSE.txt
|
||||
|
Reference in New Issue
Block a user