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

src/linguist/shared/qm.cpp:455:30: error: no match for call to ‘(QStringDecoder) (const char*&, int&)’

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.0.0 Beta1
    • 6.0.0 Beta1
    • Tools: Linguist
    • None
    • qt/qttools 7ae8625b588e078abe344209a36043514b0f3acf

    Description

      agent:2020/10/12 04:40:19 build.go:379: src/linguist/shared/qm.cpp: In function ‘void fromBytes(const char*, int, QString*, bool*)’:
      agent:2020/10/12 04:40:19 build.go:379: src/linguist/shared/qm.cpp:455:30: error: no match for call to ‘(QStringDecoder) (const char*&, int&)’
      agent:2020/10/12 04:40:19 build.go:379:   455 |     *out = toUnicode(str, len);
      agent:2020/10/12 04:40:19 build.go:379:       |                              ^
      agent:2020/10/12 04:40:19 build.go:379: In file included from /home/qt/work/install/include/QtCore/qtextstream.h:47,
      agent:2020/10/12 04:40:19 build.go:379:                  from /home/qt/work/install/include/QtCore/qdebug.h:48,
      agent:2020/10/12 04:40:19 build.go:379:                  from /home/qt/work/install/include/QtCore/QDebug:1,
      agent:2020/10/12 04:40:19 build.go:379:                  from src/linguist/shared/qm.cpp:35:
      agent:2020/10/12 04:40:19 build.go:379: /home/qt/work/install/include/QtCore/qstringconverter.h:280:37: note: candidate: ‘template<class> QStringDecoder::EncodedData<const QByteArray&> QStringDecoder::operator()(const QByteArray&)’
      agent:2020/10/12 04:40:19 build.go:379:   280 |     EncodedData<const QByteArray &> operator()(const QByteArray &ba)
      agent:2020/10/12 04:40:19 build.go:379:       |                                     ^~~~~~~~
      agent:2020/10/12 04:40:19 build.go:379: /home/qt/work/install/include/QtCore/qstringconverter.h:280:37: note:   template argument deduction/substitution failed:
      agent:2020/10/12 04:40:19 build.go:379: src/linguist/shared/qm.cpp:455:30: note:   candidate expects 1 argument, 2 provided
      agent:2020/10/12 04:40:19 build.go:379:   455 |     *out = toUnicode(str, len);
      agent:2020/10/12 04:40:19 build.go:379:       |                              ^
      agent:2020/10/12 04:40:19 build.go:379: In file included from /home/qt/work/install/include/QtCore/qtextstream.h:47,
      agent:2020/10/12 04:40:19 build.go:379:                  from /home/qt/work/install/include/QtCore/qdebug.h:48,
      agent:2020/10/12 04:40:19 build.go:379:                  from /home/qt/work/install/include/QtCore/QDebug:1,
      agent:2020/10/12 04:40:19 build.go:379:                  from src/linguist/shared/qm.cpp:35:
      agent:2020/10/12 04:40:19 build.go:379: /home/qt/work/install/include/QtCore/qstringconverter.h:282:33: note: candidate: ‘QStringDecoder::EncodedData<QByteArrayView> QStringDecoder::operator()(QByteArrayView)’
      agent:2020/10/12 04:40:19 build.go:379:   282 |     EncodedData<QByteArrayView> operator()(QByteArrayView ba)
      agent:2020/10/12 04:40:19 build.go:379:       |                                 ^~~~~~~~
      agent:2020/10/12 04:40:19 build.go:379: /home/qt/work/install/include/QtCore/qstringconverter.h:282:33: note:   candidate expects 1 argument, 2 provided
      

      Build log: https://testresults.qt.io/logs/qt/qttools/463f2f820305e2fea1c3a49951a9ad3f75370067/LinuxSLES_15x86_64LinuxSLES_15x86_64GCCqtci-linux-SLES-15-x86_64-7d89ccDisableTests_Sccache/d659d27799b34dbc3c7656b04e39b036e3a4b8e9/build_1602477569/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qttools/tasks/1602477470

      Tested changes (refs/builds/qtci/dev/1602477469):
      https://codereview.qt-project.org/c/qt/qttools/+/316852/1 Update dependencies on 'dev' in qt/qttools

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes