mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-09 18:04:15 +00:00
qt: fixed logging to window in release builds
This commit is contained in:
parent
44a2549b81
commit
81d9626da9
@ -6,11 +6,16 @@ TARGET = i2pd_qt
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
QMAKE_CXXFLAGS *= -std=c++11 -Wno-unused-parameter -Wno-maybe-uninitialized
|
QMAKE_CXXFLAGS *= -std=c++11 -Wno-unused-parameter -Wno-maybe-uninitialized
|
||||||
|
|
||||||
# For now, disable UPnP which currently crashes on Stop() -- https://github.com/PurpleI2P/i2pd/issues/1387
|
# For now, disable UPnP which currently crashes in UPnP::Stop() -- https://github.com/PurpleI2P/i2pd/issues/1387
|
||||||
#DEFINES += USE_UPNP
|
#DEFINES += USE_UPNP
|
||||||
DEFINES -= USE_UPNP
|
DEFINES -= USE_UPNP
|
||||||
|
|
||||||
debug: DEFINES += DEBUG_WITH_DEFAULT_LOGGING
|
CONFIG(debug, debug|release) {
|
||||||
|
message(Debug build)
|
||||||
|
DEFINES += DEBUG_WITH_DEFAULT_LOGGING
|
||||||
|
} else {
|
||||||
|
message(Release build)
|
||||||
|
}
|
||||||
|
|
||||||
SOURCES += DaemonQT.cpp mainwindow.cpp \
|
SOURCES += DaemonQT.cpp mainwindow.cpp \
|
||||||
../../libi2pd/api.cpp \
|
../../libi2pd/api.cpp \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user