Include qglobal.h first in qnsview.mm compilation unit.
If cocoa headers are being included first, this messes up the defines MAC_OS_X_VERSION_MAX_ALLOWED and MAC_OS_X_VERSION_MIN_REQUIRED when compiling with clang. Change-Id: I07177d07a0ac7c5f7e72b04f42d6343e689e0d33 Reviewed-by: Ali Akhtarzada <ali.akhtarzada@nokia.com> Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
This commit is contained in:
parent
84e66f69ae
commit
5fb239e8a3
@ -53,6 +53,8 @@
|
||||
#ifndef QMULTITOUCH_MAC_P_H
|
||||
#define QMULTITOUCH_MAC_P_H
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include <QtGui/QWindowSystemInterface>
|
||||
|
@ -39,6 +39,8 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
#include "qnsview.h"
|
||||
|
Loading…
Reference in New Issue
Block a user