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

Build failure with error: incompatible operand types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 6.7
    • None

    Description

      Since https://codereview.qt-project.org/c/qt/qtbase/+/479775 was merged, building QDoc now fails with

      qttools/src/qdoc/qdoc/generator.cpp:361:31: error: incompatible operand types ('QStringBuilder<[...], QString>' and 'QStringBuilder<[...], const QString &>')
          return extension.isNull() ? name + fileExtension() : name + extension;
                                    ^ ~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
      
      where virtual QString Generator::fileExtension() const and  const QString &extension (function parameter)
      

      While we can fix this in QDoc's source, it might be useful to assess if this constitutes a breaking change; the commit message above doesn't give that impression.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            treinio Topi Reiniƶ
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes