diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-01-25 16:12:22 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-25 19:06:57 (GMT) |
commit | 131ccbb445ae13402c35e957b64153644fd4d09c (patch) | |
tree | 4841c78b0f2c794548a19fb5e0ad5448e11e89b5 /src/gui/kernel/qkeymapper_win.cpp | |
parent | 87fa0250081cffb6e413fec7957f5ac4add6cdd1 (diff) | |
download | Qt-131ccbb445ae13402c35e957b64153644fd4d09c.zip Qt-131ccbb445ae13402c35e957b64153644fd4d09c.tar.gz Qt-131ccbb445ae13402c35e957b64153644fd4d09c.tar.bz2 |
qkeymapper_win.cpp: Define missing constant for MinGW.
Fix MinGW compile breakage introduced by
68331c5436506b6f9b4c2a49692a09020e4eef27 .
Task-number: QTBUG-8764
Task-number: QTBUG-10032
Change-Id: I26bcefc382010eee7d79b806b3d9f08b6cb2ff8d
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Diffstat (limited to 'src/gui/kernel/qkeymapper_win.cpp')
-rw-r--r-- | src/gui/kernel/qkeymapper_win.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qkeymapper_win.cpp b/src/gui/kernel/qkeymapper_win.cpp index b0931b0..34b0b4f 100644 --- a/src/gui/kernel/qkeymapper_win.cpp +++ b/src/gui/kernel/qkeymapper_win.cpp @@ -74,6 +74,9 @@ extern Q_CORE_EXPORT QLocale qt_localeFromLCID(LCID id); #ifndef VK_OEM_3 #define VK_OEM_3 0xC0 #endif +#ifndef MAPVK_VK_TO_CHAR +#define MAPVK_VK_TO_CHAR (2) +#endif #if defined(Q_OS_WINCE) bool GetKeyboardState(unsigned char* kbuffer) |