diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-07-16 08:19:30 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-16 20:39:57 (GMT) |
commit | 876d503dce70934426441cfc4ec900c9c33e4e86 (patch) | |
tree | 69f53c6561975381500179200c3f56ee46386e33 | |
parent | 64577649442b65b557b2cd85b0573c3f00aadff1 (diff) | |
download | Qt-876d503dce70934426441cfc4ec900c9c33e4e86.zip Qt-876d503dce70934426441cfc4ec900c9c33e4e86.tar.gz Qt-876d503dce70934426441cfc4ec900c9c33e4e86.tar.bz2 |
test: Fix compilation error on old Unix systems caused by ShapeInput
Change-Id: Idab511868f3e90d1db95541b16dc0eb18a900a04
Reviewed-by: Albert Astals Cid <albert.astals@canonical.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
-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); |