Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error during building Qt 5.0.1 on Mac OS 10.8

Error during building Qt 5.0.1 on Mac OS 10.8

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.4k Views
  • 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 Offline
    D Offline
    dh4dai
    wrote on last edited by
    #1

    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
    0
    • M Offline
      M Offline
      Max13
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved