diff options
author | Maurice Kalinowski <maurice.kalinowski@nokia.com> | 2009-04-06 14:18:40 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-07 05:52:13 (GMT) |
commit | 9990af66808c3deefa87acdc7d83e52c907ca371 (patch) | |
tree | 4dfbee7ef59753e57f8c3f32ea8705b3a8d1df48 | |
parent | 9dcc109d4101ecd73af8ddfb9155f737ec977340 (diff) | |
download | Qt-9990af66808c3deefa87acdc7d83e52c907ca371.zip Qt-9990af66808c3deefa87acdc7d83e52c907ca371.tar.gz Qt-9990af66808c3deefa87acdc7d83e52c907ca371.tar.bz2 |
compile for non x11 systems
Reviewed-by: joerg
(cherry picked from commit a93551a2e3e590400b09bc076d3a6883c162b75d)
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index dfd0792..4b41bdb 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -8734,7 +8734,9 @@ void tst_QWidget::toplevelLineEditFocus() QLineEdit w; w.show(); +#ifdef Q_WS_X11 qt_x11_wait_for_window_manager(&w); +#endif QTest::qWait(200); QCOMPARE(QApplication::activeWindow(), &w); |