From 876d503dce70934426441cfc4ec900c9c33e4e86 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Mon, 16 Jul 2012 10:19:30 +0200 Subject: test: Fix compilation error on old Unix systems caused by ShapeInput Change-Id: Idab511868f3e90d1db95541b16dc0eb18a900a04 Reviewed-by: Albert Astals Cid Reviewed-by: Sergio Ahumada --- tests/auto/qdrag/tst_qdrag.cpp | 4 ++-- 1 file 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); -- cgit v0.12