It is deprecated.
Change-Id: Icf29b1f5ab6cb06ee7fd375fb96242df7ee3083e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
if (view->status() != QQuickView::Ready)
return 0;
view->show();
- QTest::qWaitForWindowShown(view);
+ QTest::qWaitForWindowExposed(view);
if (additionalWait)
QTest::qWait(additionalWait);
textInput->setParentItem(window.contentItem());
window.show();
window.requestActivateWindow();
- QTest::qWaitForWindowShown(&window);
- QTRY_COMPARE(QGuiApplication::focusWindow(), &window);
+ QVERIFY(QTest::qWaitForWindowActive(&window));
+ QCOMPARE(QGuiApplication::focusWindow(), &window);
for (int i = text.length(); i >= 0; i -= 2) {
QCOMPARE(textInput->text(), text.mid(0, i));