Add compile options and put Qt definitions in app CMakeLists

This commit is contained in:
jfmcarreira committed 2021-10-03 14:13:02 +01:00
1 parent dda88d8334
commit 54f9f185e2
2 files changed
+16 -12

No files matched your search

+8
View File
@@ -36,6 +36,14 @@ IF(USE_QTDBUS)
ENDIF()
ENDIF()
ADD_DEFINITIONS(
-DQT_NO_CAST_TO_ASCII
# -DQT_NO_CAST_FROM_ASCII
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
# -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_USE_QSTRINGBUILDER
)
SET(Calyp_App_SRCS
# Main
main.cpp