tests/auto/qdialog/tst_qdialog.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
child 30 5dc02b23752f
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
   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);