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

Regression: "error : Undefined interface" for Q_INTERFACES during MOC on MAC OS (qmake)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 5.11.2
    • Build tools: qmake
    • None
    • macOS
    • Bug Fixing Week Q2/2020

      The same task as QTBUG-59460.

      The error that I get -

      Q_INTERFACES(QQmlParserStatus) Error: Undefined interface.
      

      I build the project like this:

      qmake -project -o texteditor.pro
      cat texteditor.pro > tmp.pro  (Generally so, but it does not work - cat texteditor.pro MacOS.pro > tmp.pro)
      mv tmp.pro texteditor.pro
      qmake -spec macx-xcode texteditor.pro
      

      What you see is shown in the screenshot in the attachment.

        1. Screen1.png
          Screen1.png
          398 kB
        2. Screen2.png
          Screen2.png
          9 kB
        3. textEdTest.zip
          67 kB
        4. xcode_9.3.1_errors.png
          xcode_9.3.1_errors.png
          296 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            borisska Борис Березовский
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes