tests/auto/qdialog/tst_qdialog.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
child 30 5dc02b23752f
equal deleted inserted replaced
18:2f34d5167611 19:fcece45ef507
   462     }
   462     }
   463 };
   463 };
   464 
   464 
   465 void tst_QDialog::throwInExec()
   465 void tst_QDialog::throwInExec()
   466 {
   466 {
   467 #ifdef Q_WS_MAC
   467 #if defined(Q_WS_MAC) || (defined(Q_WS_WINCE) && defined(_ARM_))
   468     QSKIP("Qt/Mac: Throwing exceptions in exec() is not supported.", SkipAll);
   468     QSKIP("Throwing exceptions in exec() is not supported on this platform.", SkipAll);
   469 #endif
   469 #endif
   470     int caughtExceptions = 0;
   470     int caughtExceptions = 0;
   471     try {
   471     try {
   472         ExceptionDialog dialog;
   472         ExceptionDialog dialog;
   473         QMetaObject::invokeMethod(&dialog, "throwException", Qt::QueuedConnection);
   473         QMetaObject::invokeMethod(&dialog, "throwException", Qt::QueuedConnection);