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

Various build errors in qttools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.0
    • None
    • Ubuntu 18.04.3
      clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04
      gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

    Description

      /home/mitch/dev/qt-dev2/qttools/src/assistant/help/qhelpindexwidget.cpp: In member function ?void QHelpIndexWidget::showLink(const QModelIndex&)?:
      /home/mitch/dev/qt-dev2/qttools/src/assistant/help/qhelpindexwidget.cpp:400:58: error: invalid static_cast from type ?QMap<QString, QUrl>? to type ?QMultiMap<QString, QUrl>&?
                   static_cast<QMultiMap<QString, QUrl> &>(links).insert(doc.title, doc.url);
      

      and

      /home/mitch/dev/qt-dev2/qttools/src/qdoc/docbookgenerator.cpp:1336:21: error: no match for ?operator!=? (operand types are ?QMap<Text, const Node*>::ConstIterator {aka QMap<Text, const Node*>::const_iterator}? and ?QMultiMap<Text, const Node*>::const_iterator?)
               } while (it != legaleseTexts.constEnd() && it.key() == text);
                        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
      

      and probably others:

      make.txt

      Module SHA-1s:

      Entering 'qtbase'
      commit 7c861a36f98972b64379589477930e2e894b0d72
      Entering 'qtdeclarative'
      commit 02caa659dad5e28b95029e28a40912cabeaf6a9b
      Entering 'qtdoc'
      commit a0463f76d4c71d28f4527d4c67acc867e195a9c6
      Entering 'qttools'
      commit 98cca5ff823fe2d4e41f45173e0675bcdf9e2542
      

      Attachments

        1. make.txt
          560 kB
          Mitch Curtis

        Issue Links

          Activity

            People

              treinio Topi Reiniö
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: