summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/widgets')
-rw-r--r--tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp b/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
index c0b3d34f7e..fda94f5450 100644
--- a/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
+++ b/tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp
@@ -599,6 +599,11 @@ void tst_QPushButton::sizeHint()
{
QFETCH(QString, stylename);
+#ifdef Q_OS_MAC
+ if (stylename == "mac")
+ QSKIP("QStyleFactory cannot create the Mac style, see QTBUG-23680");
+#endif
+
QStyle *style = QStyleFactory::create(stylename);
if (!style)
QFAIL(qPrintable(QString::fromLatin1("Cannot create style: %1").arg(stylename)));