summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
index 25245c5c43..fce72da98f 100644
--- a/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
+++ b/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.h
@@ -45,6 +45,8 @@
#import <Cocoa/Cocoa.h>
#import <AppKit/NSAccessibility.h>
+#ifndef QT_NO_COCOA_ACCESSIBILITY
+
@class QCocoaAccessibleElement;
@interface QCocoaAccessibleElement : NSObject {
@@ -58,5 +60,7 @@
@end
+#endif // QT_NO_COCOA_ACCESSIBILITY
+
#endif