mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-02-06 02:26:48 +08:00
Add more stricter Qt compile definitions
This commit is contained in:
parent
ac7134b71b
commit
cb158992f5
@ -38,3 +38,13 @@ endif()
|
|||||||
|
|
||||||
target_compile_definitions(${PROJECT_NAME} PUBLIC QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
|
target_compile_definitions(${PROJECT_NAME} PUBLIC QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
|
||||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||||
|
QT_NO_CAST_TO_ASCII
|
||||||
|
QT_NO_CAST_FROM_ASCII
|
||||||
|
QT_NO_URL_CAST_FROM_STRING
|
||||||
|
QT_NO_CAST_FROM_BYTEARRAY
|
||||||
|
QT_USE_QSTRINGBUILDER
|
||||||
|
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
|
||||||
|
QT_NO_KEYWORDS
|
||||||
|
QT_NO_FOREACH
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user