summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/macnativeevents/tst_macnativeevents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/macnativeevents/tst_macnativeevents.cpp')
-rw-r--r--tests/auto/other/macnativeevents/tst_macnativeevents.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/other/macnativeevents/tst_macnativeevents.cpp b/tests/auto/other/macnativeevents/tst_macnativeevents.cpp
index 5edff7aabe..e8970e6f24 100644
--- a/tests/auto/other/macnativeevents/tst_macnativeevents.cpp
+++ b/tests/auto/other/macnativeevents/tst_macnativeevents.cpp
@@ -35,10 +35,14 @@
#include "qnativeevents.h"
#include "nativeeventlist.h"
#include "expectedeventlist.h"
-#include <Carbon/Carbon.h>
QT_USE_NAMESPACE
+// Unicode code points for the glyphs associated with these keys
+// Defined by Carbon headers but not anywhere in Cocoa
+static const int kControlUnicode = 0x2303;
+static const int kCommandUnicode = 0x2318;
+
class tst_MacNativeEvents : public QObject
{
Q_OBJECT