Make clients use the QT_NO_DEBUG flag when using QtCore in release mode.
This is similar to 9a5ade8abe which
modified the qt5_use_modules macro.
Change-Id: Ib63ee693ed2e25de6ac9d969e8be27ddbf8948c3
Reviewed-by: Peter Kümmel <syntheticpp@gmx.net>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
bb10
parent
9d35442a6e
commit
af23200d1a
|
|
@ -83,6 +83,8 @@ list(APPEND Qt5Core_COMPILE_DEFINITIONS QT_NAMESPACE=$$QT_NAMESPACE)
|
|||
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS QT_NAMESPACE=$$QT_NAMESPACE)
|
||||
!!ENDIF
|
||||
|
||||
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>)
|
||||
|
||||
!!IF contains(QT_CONFIG, reduce_exports)
|
||||
set(QT_VISIBILITY_AVAILABLE \"True\")
|
||||
!!ENDIF
|
||||
|
|
|
|||
Loading…
Reference in New Issue