tests: skip tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad() on Wayland
QWindow::requestActivate() is not supported. Task-number: QTBUG-107158 Change-Id: I047337d736ff10693d98075e2636028225162765 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit f2aa04722a46273cfb94f9d25667a772a1c40861) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1d3e0efdad
commit
f91cfbb38b
@ -17,6 +17,8 @@
|
|||||||
#include <QtGui/private/qeventpoint_p.h>
|
#include <QtGui/private/qeventpoint_p.h>
|
||||||
#include <private/qhighdpiscaling_p.h>
|
#include <private/qhighdpiscaling_p.h>
|
||||||
#include <private/qpointingdevice_p.h>
|
#include <private/qpointingdevice_p.h>
|
||||||
|
#include <private/qguiapplication_p.h>
|
||||||
|
#include <qpa/qplatformintegration.h>
|
||||||
|
|
||||||
Q_LOGGING_CATEGORY(lcTests, "qt.gui.tests")
|
Q_LOGGING_CATEGORY(lcTests, "qt.gui.tests")
|
||||||
|
|
||||||
@ -1127,6 +1129,9 @@ void tst_QTouchEvent::multiPointRawEventTranslationOnTouchPad()
|
|||||||
QSKIP("The macOS mouse cursor interferes with this test can cannot be moved away");
|
QSKIP("The macOS mouse cursor interferes with this test can cannot be moved away");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||||
|
QSKIP("QWindow::requestActivate() is not supported.");
|
||||||
|
|
||||||
tst_QTouchEventWidget touchWidget;
|
tst_QTouchEventWidget touchWidget;
|
||||||
touchWidget.setObjectName("touchWidget");
|
touchWidget.setObjectName("touchWidget");
|
||||||
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
touchWidget.setWindowTitle(QTest::currentTestFunction());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user