diff options
-rw-r--r-- | tests/auto/qdrag/tst_qdrag.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qdrag/tst_qdrag.cpp b/tests/auto/qdrag/tst_qdrag.cpp index 3aac909..2ce1e95 100644 --- a/tests/auto/qdrag/tst_qdrag.cpp +++ b/tests/auto/qdrag/tst_qdrag.cpp @@ -263,7 +263,7 @@ void tst_QDrag::testDragEnterNoShaping() void tst_QDrag::testDragEnterSomeShaping() { -#ifdef Q_WS_X11 +#if defined(Q_WS_X11) && defined(ShapeInput) // Widget of 80x80 at 300, 300 DragCounterAndCreatorWidget dw; QTest::qWaitForWindowShown(&dw); @@ -307,7 +307,7 @@ void tst_QDrag::testDragEnterSomeShaping() void tst_QDrag::testDragEnterAllShaping() { -#ifdef Q_WS_X11 +#if defined(Q_WS_X11) && defined(ShapeInput) // Widget of 80x80 at 300, 300 DragCounterAndCreatorWidget dw; QTest::qWaitForWindowShown(&dw); |