debug::Log can now be used instead of qDebug()

Usage:
```
QString string("world");
debug::Log("hello: {}", string);
```
This commit is contained in:
Rasmus Karlsson
2017-09-24 19:23:07 +02:00
parent af35c1f335
commit 81e06f3a53
3 changed files with 50 additions and 8 deletions
+7 -1
View File
@@ -164,7 +164,8 @@ HEADERS += \
src/widgets/qualitypopup.hpp \
src/widgets/emotepopup.hpp \
src/messages/messagecolor.hpp \
src/util/nativeeventhelper.hpp
src/util/nativeeventhelper.hpp \
src/debug/log.hpp
PRECOMPILED_HEADER =
@@ -178,6 +179,11 @@ win32 {
INCLUDEPATH += C:\local\boost\
}
win32 {
LIBS += -luser32
LIBS += -lgdi32
}
# Optional dependency on windows sdk 7.1
win32:exists(C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\Windows.h) {
LIBS += -L"C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib" \