diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf index 5a5f8a37b4..f1f7c00b9e 100644 --- a/mkspecs/features/qt_functions.prf +++ b/mkspecs/features/qt_functions.prf @@ -29,7 +29,7 @@ defineTest(qtAddLibrary) { for(var, QT_MODULES) { isEqual(QT.$${var}.name, $$1) { qtAddModule($$var, , LIBS) - return(true):break() # Yes, the break is insanity. But necessary. + return(true) } } error("No module matching library '$$1' found.")