diff --git a/Editor/CMakeLists.txt b/Editor/CMakeLists.txt index 656be6a..45b9bb6 100644 --- a/Editor/CMakeLists.txt +++ b/Editor/CMakeLists.txt @@ -60,6 +60,11 @@ add_executable(amuse-gui WIN32 MACOSX_BUNDLE ${QM_FILES} ) +target_compile_definitions(amuse-gui PRIVATE + # Allows for more efficient string concatenation, resulting in less temporaries. + -DQT_USE_QSTRINGBUILDER +) + if(WIN32) target_sources(amuse-gui PRIVATE platforms/win/amuse-gui.rc