int diff = abs(textWidth - (textLeftWidth+textinputObject->width()/2));
-#ifdef Q_WS_QPA
- QEXPECT_FAIL("", "QTBUG-21011 fails", Continue);
-#endif
-
// some tollerance for different fonts.
#ifdef Q_OS_LINUX
QVERIFY(diff < 2);
diff = abs(int(textLeftWidth-textinputObject->width()/2));
-#ifdef Q_WS_QPA
- QEXPECT_FAIL("", "QTBUG-21011 fails", Continue);
-#endif
-
// some tollerance for different fonts.
#ifdef Q_OS_LINUX
QVERIFY(diff < 2);
// test the text is scrolled so the preedit is visible.
ic.sendPreeditText(preeditText.mid(0, 3), 1);
-#ifdef Q_WS_QPA
- QEXPECT_FAIL("", "QTBUG-21011 fails", Abort);
-#endif
QVERIFY(input->positionAt(0) != 0);
QVERIFY(input->cursorRectangle().left() < input->boundingRect().width());
QCOMPARE(cursorRectangleSpy.count(), ++cursorRectangleChanges);