Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29585

QT 5.0.1 compile error on OS X 10.8.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.2
    • 5.0.1
    • Other
    • None
    • OS X 10.8.2
    • macOS
    • qtbase/stable: 655ba575

    Description

      QT 5.0.1 will not compile successfully on Mac OS X 10.8.2. Source was obtained from the TAR.GZ bundle on the QT site.

      clang -c -pipe -mmacosx-version-min=10.6 -g -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_COCOA_ACCESSIBILITY -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../mkspecs/macx-clang -I. -I../../../../include -I../../../../include/QtPrintSupport -I../../../../include/QtPrintSupport/5.0.1 -I../../../../include/QtPrintSupport/5.0.1/QtPrintSupport -I../../../../lib/QtPrintSupport.framework/Versions/5/Headers -I../../../../include/QtWidgets -I../../../../include/QtWidgets/5.0.1 -I../../../../include/QtWidgets/5.0.1/QtWidgets -I../../../../lib/QtWidgets.framework/Versions/5/Headers -I../../../../include/QtPlatformSupport -I../../../../include/QtPlatformSupport/5.0.1 -I../../../../include/QtPlatformSupport/5.0.1/QtPlatformSupport -I../../../../include/QtGui -I../../../../include/QtGui/5.0.1 -I../../../../include/QtGui/5.0.1/QtGui -I../../../../lib/QtGui.framework/Versions/5/Headers -I../../../../include/QtCore -I../../../../include/QtCore/5.0.1 -I../../../../include/QtCore/5.0.1/QtCore -I../../../../lib/QtCore.framework/Versions/5/Headers -I.moc/debug-shared -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers qcocoaintegration.mm -o .obj/debug-shared/qcocoaintegration.o
      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'

      1. define QT_PREPEND_NAMESPACE(name) ::name
        ^
        1 error generated.
        make[6]: *** [.obj/debug-shared/qcocoaintegration.o] Error 1
        make[5]: *** [debug-all] Error 2
        make[4]: *** [sub-cocoa-make_first] Error 2
        make[3]: *** [sub-platforms-make_first] Error 2
        make[2]: *** [sub-plugins-make_first] Error 2
        make[1]: *** [sub-src-make_first] Error 2
        make: *** [module-qtbase-make_first] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            goldenegg David Ely
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes