Details
-
Bug
-
Resolution: Out of scope
-
P5: Not important
-
None
-
5.1.1
-
None
-
Mac OS X 10.6
Description
When trying to build the latest version of QtMacExtras (17294c0), or an earlier version (4303cf9), I get errors like this:
In file included from qmacnativetoolbar.mm:45: qmactoolbardelegate_p.h:84: error: expected constructor, destructor, or type conversion before ‘;’ token In file included from qmacnativetoolbar.mm:46: qnstoolbar_p.h:60: error: expected constructor, destructor, or type conversion before ‘;’ token qmacnativetoolbar.mm:130: error: expected constructor, destructor, or type conversion before ‘;’ token
The problem is the QT_NAMESPACE_ALIAS_OBJC_CLASS macro is undefined.
Someone mentioned the same problem on http://qt-project.org/forums/viewthread/28270/, but there was no resolution.
A workaround is to comment out each occurrence of QT_NAMESPACE_ALIAS_OBJC_CLASS.
Attachments
Issue Links
- replaces
-
QTBUG-32594 QtMacExtras doesn't build on OS X Mountain Lion with Xcode 4.6.3
- Closed