mirror of
https://github.com/AxioDL/amuse.git
synced 2025-08-09 13:39:09 +00:00
Editor/CMakeLists: Add QT_NO_CAST_FROM_BYTEARRAY
Disables implicit conversions from QByteArray, instead requiring such conversions to be explicit.
This commit is contained in:
parent
f269b66f85
commit
8b4a096b50
@ -65,6 +65,9 @@ target_compile_definitions(amuse-gui PRIVATE
|
|||||||
-DQT_NO_CAST_FROM_ASCII
|
-DQT_NO_CAST_FROM_ASCII
|
||||||
-DQT_NO_CAST_TO_ASCII
|
-DQT_NO_CAST_TO_ASCII
|
||||||
|
|
||||||
|
# Disable implicit conversions of QByteArray to const char* or const void*
|
||||||
|
-DQT_NO_CAST_FROM_BYTEARRAY
|
||||||
|
|
||||||
# Disable narrowing conversions in signal/slot connect() calls.
|
# Disable narrowing conversions in signal/slot connect() calls.
|
||||||
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
|
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user