summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestmouse.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-18 14:54:15 +0200
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-18 14:56:26 +0200
commita250ca3a3c0b777f274388b9e57a985d7438f8ff (patch)
treed1982717becf41fa1ed5abbed7c0472506152740 /src/testlib/qtestmouse.h
parent5f2f444a9d8d80d778053c2af66534d582145055 (diff)
Make TestLib compatible with mingw when gui is not used
The problem is that headers in QTestLib define functions for mouse and key events. Those are causing link errors on all autotests that do "QT -= gui" with mingw (only debug seems to be affected). Reviewed-by: jasplin
Diffstat (limited to 'src/testlib/qtestmouse.h')
-rw-r--r--src/testlib/qtestmouse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestmouse.h b/src/testlib/qtestmouse.h
index 2825c581a7..7ea927cc83 100644
--- a/src/testlib/qtestmouse.h
+++ b/src/testlib/qtestmouse.h
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#ifndef QTESTMOUSE_H
+#if !defined(QTESTMOUSE_H) && defined(QT_GUI_LIB)
#define QTESTMOUSE_H
#if 0