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

Compiler error in qproperty_p.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 6.3.0 Alpha
    • 6.2.0 RC
    • Core: Other
    • None
    • Linux/X11
    • 8cc6c7cd6eb88b197defc3e4f73d2f5706455bd4 (qt/qtbase/dev)

    Description

      When building Qt -6.2.0-rc I'm running into the following compiler error:

      /disk3/qt/qt-everywhere-src-6.2.0-rc/qtbase/include/QtCore/6.2.0/QtCore/private/../../../../../src/corelib/kernel/qproperty_p.h:554:30: error: ‘(QItemSelectionModelPrivate::modelChanged != 0)’ is not a constant expression
               if constexpr (Signal != nullptr) {
                             ~~~~~~~^~~~~~~~~~
      

      My compiler:

      gcc (SUSE Linux) 10.2.1 20200825 [revision c0746a1beb1ba073c7981eb09f55b3d993b32e5c]

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            uwe Uwe Rathmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes