test: Mark cmake tests as insignificant when -no-widgets is used
[profile/ivi/qtbase.git] / mkspecs / features / ctest_testcase.prf
index de61ae9..555a0bb 100644 (file)
@@ -53,4 +53,6 @@ insignificant_test:!isEmpty(check.commands) {
     check.commands = -$${check.commands}
 }
 
+isEmpty(QT.widgets.name):CONFIG += insignificant_test # QTBUG-28540
+
 QMAKE_EXTRA_TARGETS *= check