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

Build errors on mac when -no-accessibility is enabled on configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 5.0.0 Beta 2
    • None
    • MacOS 10.8.2, gcc 421.
    • macOS

    Description

      I configure qt500b2 with the following command-line:
      configure -confirm-license -prefix <something> -debug -opensource -fast -qt-zlib -qt-libpng -qt-libjpeg -nomake demos -nomake examples -nomake tutorials -no-accessibility -no-framework -platform macx-g++ -arch x86_64

      The configure goes well, but I get compiler errors in:

      qcocoaaccessibilityelement.mm:183: error: invalid use of incomplete type ‘struct QAccessibleActionInterface’

      It turns out that in the include of QAccessibleActionInterface (or rather qaccessible2.h) the class definitions are blocked by QT_NO_ACCESSIBILITY on line 53

      I guess that qcocoaaccessibilityelement.mm (and possibly other files) should be excluded from the project when -no-accessibility is set

      Attachments

        Issue Links

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

          Activity

            People

              frederik Frederik Gladhorn
              tingdahl Kristofer Tingdahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes