зеркало из https://github.com/nextcloud/desktop.git
Add some define.
Since Qt5.4, on release build, qDebug do not provide anymore the line number unless we define QT_MESSAGELOGCONTEXT Also define QT_USE_QSTRINGBUILDER while i'm on it (free optimisation)
This commit is contained in:
Родитель
26132fd14e
Коммит
68ec24797b
|
@ -103,6 +103,9 @@ endif()
|
|||
|
||||
#Enable deprecated symbols
|
||||
add_definitions("-DQT_DISABLE_DEPRECATED_BEFORE=0")
|
||||
|
||||
add_definitions("-DQT_USE_QSTRINGBUILDER") #optimize string concatenation
|
||||
add_definitions("-DQT_MESSAGELOGCONTEXT") #enable function name and line number in debug output
|
||||
endif( Qt5Core_FOUND )
|
||||
|
||||
if(NOT Qt5Core_FOUND)
|
||||
|
|
Загрузка…
Ссылка в новой задаче