mirror of https://github.com/AxioDL/amuse.git
Editor/CMakeLists: Add QT_NO_PROCESS_COMBINED_ARGUMENT_START
Disables an error-prone start() overload for QProcess. This prevents cases where arguments to a process may be split unintentionally.
This commit is contained in:
parent
694ecdd9c3
commit
f269b66f85
|
@ -68,6 +68,9 @@ target_compile_definitions(amuse-gui PRIVATE
|
|||
# Disable narrowing conversions in signal/slot connect() calls.
|
||||
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
|
||||
|
||||
# Disable unsafe overloads of QProcess' start() function.
|
||||
-DQT_NO_PROCESS_COMBINED_ARGUMENT_START
|
||||
|
||||
# Disable implicit QString->QUrl conversions to enforce use of proper resolving functions.
|
||||
-DQT_NO_URL_CAST_FROM_STRING
|
||||
|
||||
|
|
Loading…
Reference in New Issue