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

Can't build qtmacextras

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • 5.2.0 Alpha
    • None
    • Other
    • None
    • Xcode 4.5.2
      Mac OS X 10.8.2

    Description

      I can't compile qtmacextras from latest git sources.

      ./qmactoolbardelegate_p.h:84:50: error: interface type 'QMacToolbarDelegate' cannot be passed by value; did you forget * in 'QMacToolbarDelegate'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QMacToolbarDelegate);
                                                       ^
      ./qmactoolbardelegate_p.h:84:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QMacToolbarDelegate);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from qmacnativetoolbar.mm:46:
      ./qnstoolbar_p.h:60:42: error: interface type 'QtNSToolbar' cannot be passed by value; did you forget * in 'QtNSToolbar'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QtNSToolbar);
                                               ^
      ./qnstoolbar_p.h:60:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QtNSToolbar);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      qmacnativetoolbar.mm:130:49: error: interface type 'QNSToolbarNotifier' cannot be passed by value; did you forget * in 'QNSToolbarNotifier'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSToolbarNotifier);
                                                      ^
      qmacnativetoolbar.mm:130:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSToolbarNotifier);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      6 errors generated.
      make[3]: *** [.obj/release-shared/qmacnativetoolbar.o] Error 1
      make[2]: *** [release-all] Error 2
      make[2]: *** Waiting for unfinished jobs....
      /Developer/usr/bin/clang -c -pipe -g -gdwarf-2 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_XKBCOMMON -DQT_BUILD_MACEXTRAS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/Users/user/Qt5.1.1/5.1.1/clang_64/mkspecs/macx-clang -I. -I. -I../../include -I../../include/QtMacExtras -I/Users/user/Desktop/qt-qtmacextras/include/QtMacExtras/5.1.0 -I/Users/user/Desktop/qt-qtmacextras/include/QtMacExtras/5.1.0/QtMacExtras -I/Users/user/Qt5.1.1/5.1.1/clang_64/include -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtWidgets -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtWidgets.framework/Versions/5/Headers -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtGui -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtCore -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtCore.framework/Versions/5/Headers -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtGui/5.1.1 -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtGui/5.1.1/QtGui -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtGui.framework/Versions/5/Headers/5.1.1 -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtGui.framework/Versions/5/Headers/5.1.1/QtGui -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtCore/5.1.1 -I/Users/user/Qt5.1.1/5.1.1/clang_64/include/QtCore/5.1.1/QtCore -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtCore.framework/Versions/5/Headers/5.1.1 -I/Users/user/Qt5.1.1/5.1.1/clang_64/lib/QtCore.framework/Versions/5/Headers/5.1.1/QtCore -I.moc/debug-shared -I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Users/user/Qt5.1.1/5.1.1/clang_64/lib qmacnativewidget.mm -o .obj/debug-shared/qmacnativewidget.o
      In file included from qmacnativetoolbar.mm:45:
      ./qmactoolbardelegate_p.h:84:50: error: interface type 'QMacToolbarDelegate' cannot be passed by value; did you forget * in 'QMacToolbarDelegate'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QMacToolbarDelegate);
                                                       ^
      ./qmactoolbardelegate_p.h:84:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QMacToolbarDelegate);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from qmacnativetoolbar.mm:46:
      ./qnstoolbar_p.h:60:42: error: interface type 'QtNSToolbar' cannot be passed by value; did you forget * in 'QtNSToolbar'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QtNSToolbar);
                                               ^
      ./qnstoolbar_p.h:60:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QtNSToolbar);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      qmacnativetoolbar.mm:130:49: error: interface type 'QNSToolbarNotifier' cannot be passed by value; did you forget * in 'QNSToolbarNotifier'
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSToolbarNotifier);
                                                      ^
      qmacnativetoolbar.mm:130:1: error: C++ requires a type specifier for all declarations
      QT_NAMESPACE_ALIAS_OBJC_CLASS(QNSToolbarNotifier); 
      

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            taurus Ivan Romanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes