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

QtQuick3D fails to build in C++20 mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.4.0 RC1, 6.5.0 Beta1
    • 6.4.0 Beta2
    • Quick: 3D
    • None
    • OpenMandriva Cooker, clang 14.0.6
    • 62fb61315e (qt/qtquick3d/dev) 64542087be (qt/qtquick3d/6.4) 64542087be (qt/tqtc-qtquick3d/6.4) 62fb61315e (qt/tqtc-qtquick3d/dev) 64542087be (qt/qtquick3d/6.4.0) 64542087be (qt/tqtc-qtquick3d/6.4.0) 64542087be (qt/qtquick3d/6.4.1)

    Description

      QtQuick 3D fails to build if the compiler is in C++20 mode.

      ```
      /home/bero/temp/abf/qt6-qtquick3d/BUILD/qtquick3d-everywhere-src-6.4.0-beta2/src/3rdparty/embree/kernels/common/../../common/sys/vector.h:182:19: error: no member named 'destroy' in 'std::allocator<unsigned int>'
      alloc.destroy(&items[i]);
      ~~~~~ ^
      ```

      Fix is attached.

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes