tests: add a capability check for QWindow::requestActivate() call
This amends b65159a5ea
.
Pick-to: 6.2
Change-Id: I6055004375b440997ea41b3e4538854780202e10
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
ee7573f61f
commit
c8609d1e7a
@ -2701,6 +2701,9 @@ void tst_QWindow::keepPendingUpdateRequests()
|
||||
|
||||
void tst_QWindow::activateDeactivateEvent()
|
||||
{
|
||||
if (!QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::WindowActivation))
|
||||
QSKIP("QWindow::requestActivate() is not supported.");
|
||||
|
||||
class Window : public QWindow
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user