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

Can't compile on Qt 6.8.1 on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.8.0, 6.8.1
    • Build System: CMake
    • None
    • macOS

    Description

      Hi, 

      After upgrading my project to recent LTS I have run into this compilation error:

       

      In file included from /Users/mariusz/Qt/6.8.1/macos/lib/QtCore.framework/Headers/QDir:1:
      /Users/mariusz/Qt/6.8.1/macos/lib/QtCore.framework/Headers/qdir.h:245:5: error: unknown type name 'Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT'
        245 |     Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QDir)
            |     ^
      /Users/mariusz/Qt/6.8.1/macos/lib/QtCore.framework/Headers/qdir.h:245:53: error: expected ';' at end of declaration list
        245 |     Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT(QDir) 

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            mleko Mariusz Klochowicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes