diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt index 3ccebd9bad5..35e06b4e8f6 100644 --- a/qmake/CMakeLists.txt +++ b/qmake/CMakeLists.txt @@ -49,6 +49,8 @@ target_compile_definitions(QtLibraryInfo PUBLIC ${deprecation_define} ) +qt_internal_set_exceptions_flags(QtLibraryInfo OFF) + if(NOT QT_FEATURE_qmake) return() endif()