Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error during building Qt 5.0.1 on Mac OS 10.8

    Installation and Deployment
    2
    2
    1288
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dh4dai last edited by

      Hello,

      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'
      class QT_PREPEND_NAMESPACE(QCocoaWindow);
      ^
      ../../../../include/QtCore/../../src/corelib/global/qglobal.h:84:39: note:
      expanded from macro 'QT_PREPEND_NAMESPACE'

      define QT_PREPEND_NAMESPACE(name) ::name

                                       ^
      

      1 error generated.
      make[5]: *** [.obj/debug-shared/qcocoaintegration.o] Error 1
      make[4]: *** [debug-all] Error 2
      make[3]: *** [sub-cocoa-make_first] Error 2
      make[2]: *** [sub-platforms-make_first] Error 2
      make[1]: *** [sub-plugins-make_first] Error 2
      make: *** [sub-src-make_first] Error 2
      bash-3.2$ @

      The GCC compiler version is 4.2.1

      Is there any idea how to solve this problem?

      kindest regards,

      Holger

      1 Reply Last reply Reply Quote 0
      • M
        Max13 last edited by

        Hello dh4dai,
        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 ?

        We all have started by asking questions. Then after some time, we can begin answering them.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post