Error during building Qt 5.0.1 on Mac OS 10.8
I have some years of experiance in developing comand line software on UNIX based OS but now I am quit new in using Qt. So I hope for some help and a little patience.
I have installed Qt 5.0.1 for Mac OS on my Macbook Pro with Mac OS 10.8.3. After installing I wanted to build the Qt library. The configuration with configure was successful. After make I got an error message:
@In file included from qcocoaintegration.mm:44:
./qcocoawindow.h:52:28: error: extra qualification on member 'QCocoaWindow'
expanded from macro 'QT_PREPEND_NAMESPACE'
define QT_PREPEND_NAMESPACE(name) ::name
1 error generated.
make: *** [.obj/debug-shared/qcocoaintegration.o] Error 1
make: *** [debug-all] Error 2
make: *** [sub-cocoa-make_first] Error 2
make: *** [sub-platforms-make_first] Error 2
make: *** [sub-plugins-make_first] Error 2
make: *** [sub-src-make_first] Error 2
The GCC compiler version is 4.2.1
Is there any idea how to solve this problem?
Did you install the Qt with the installer? If you did, no need to touch anything but caring about your own app.
Plus, I think Qt5.0.1 comes with clang... Do you have any other Qt's installation ?