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

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

XMLWordPrintable

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

      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

        For Gerrit Dashboard: QTBUG-28019
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes