diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-18 14:54:15 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-18 14:56:26 +0200 |
commit | a250ca3a3c0b777f274388b9e57a985d7438f8ff (patch) | |
tree | d1982717becf41fa1ed5abbed7c0472506152740 /src/testlib/qtestkeyboard.h | |
parent | 5f2f444a9d8d80d778053c2af66534d582145055 (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/qtestkeyboard.h')
-rw-r--r-- | src/testlib/qtestkeyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestkeyboard.h b/src/testlib/qtestkeyboard.h index 2e475b271f..af81075a7c 100644 --- a/src/testlib/qtestkeyboard.h +++ b/src/testlib/qtestkeyboard.h @@ -39,7 +39,7 @@ ** ****************************************************************************/ -#ifndef QTESTKEYBOARD_H +#if !defined(QTESTKEYBOARD_H) && defined(QT_GUI_LIB) #define QTESTKEYBOARD_H #if 0 |