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

QtMacExtras fails to build because of undefined macro QT_NAMESPACE_ALIAS_OBJC_CLASS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 5.1.1
    • Other
    • None
    • Mac OS X 10.6

    Description

      When trying to build the latest version of QtMacExtras (17294c0), or an earlier version (4303cf9), I get errors like this:

      In file included from qmacnativetoolbar.mm:45:
      qmactoolbardelegate_p.h:84: error: expected constructor, destructor, or type conversion before ‘;’ token
      In file included from qmacnativetoolbar.mm:46:
      qnstoolbar_p.h:60: error: expected constructor, destructor, or type conversion before ‘;’ token
      qmacnativetoolbar.mm:130: error: expected constructor, destructor, or type conversion before ‘;’ token
      

      The problem is the QT_NAMESPACE_ALIAS_OBJC_CLASS macro is undefined.

      Someone mentioned the same problem on http://qt-project.org/forums/viewthread/28270/, but there was no resolution.

      A workaround is to comment out each occurrence of QT_NAMESPACE_ALIAS_OBJC_CLASS.

      Attachments

        Issue Links

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

          Activity

            People

              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              jlstrecker Jaymie Strecker
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes