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

error: use of undeclared identifier 'QMapIterator'

    XMLWordPrintable

Details

    • 30482d2467 (qt/qtapplicationmanager/dev) 4827b29ef2 (qt/qtapplicationmanager/6.3) b9f9bf99b0 (qt/qtapplicationmanager/6.2) b9f9bf99b0 (qt/qtapplicationmanager/6.2.4) 4827b29ef2 (qt/qtapplicationmanager/6.3.0) b9f9bf99b0 (qt/qtapplicationmanager/6.2)

    Description

      /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:169:36: error: expected ';' after expression
      agent:2022/02/05 08:09:00 build.go:394:     QMapIterator<QString, QVariant> rit(m_parameterMatch);
      agent:2022/02/05 08:09:00 build.go:394:                                    ^
      agent:2022/02/05 08:09:00 build.go:394:                                    ;
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:169:5: error: use of undeclared identifier 'QMapIterator'
      agent:2022/02/05 08:09:00 build.go:394:     QMapIterator<QString, QVariant> rit(m_parameterMatch);
      agent:2022/02/05 08:09:00 build.go:394:     ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:169:37: error: use of undeclared identifier 'rit'; did you mean 'rint'?
      agent:2022/02/05 08:09:00 build.go:394:     QMapIterator<QString, QVariant> rit(m_parameterMatch);
      agent:2022/02/05 08:09:00 build.go:394:                                     ^~~
      agent:2022/02/05 08:09:00 build.go:394:                                     rint
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: 'rint' declared here
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:169:37: error: no matching function for call to 'rint'
      agent:2022/02/05 08:09:00 build.go:394:     QMapIterator<QString, QVariant> rit(m_parameterMatch);
      agent:2022/02/05 08:09:00 build.go:394:                                     ^~~
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: candidate template ignored: requirement 'std::is_integral<TestNamespace::QMap<TestNamespace::QString, TestNamespace::QVariant>>::value' was not satisfied [with _A1 = TestNamespace::QMap<TestNamespace::QString, TestNamespace::QVariant>]
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:170:12: error: use of undeclared identifier 'rit'; did you mean 'rint'?
      agent:2022/02/05 08:09:00 build.go:394:     while (rit.hasNext()) {
      agent:2022/02/05 08:09:00 build.go:394:            ^~~
      agent:2022/02/05 08:09:00 build.go:394:            rint
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: 'rint' declared here
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:170:12: error: reference to overloaded function could not be resolved; did you mean to call it?
      agent:2022/02/05 08:09:00 build.go:394:     while (rit.hasNext()) {
      agent:2022/02/05 08:09:00 build.go:394:            ^~~
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: possible target for call
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:171:9: error: use of undeclared identifier 'rit'; did you mean 'rint'?
      agent:2022/02/05 08:09:00 build.go:394:         rit.next();
      agent:2022/02/05 08:09:00 build.go:394:         ^~~
      agent:2022/02/05 08:09:00 build.go:394:         rint
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: 'rint' declared here
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:171:9: error: reference to overloaded function could not be resolved; did you mean to call it?
      agent:2022/02/05 08:09:00 build.go:394:         rit.next();
      agent:2022/02/05 08:09:00 build.go:394:         ^~~
      agent:2022/02/05 08:09:00 build.go:394: /Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/math.h:1457:1: note: possible target for call
      agent:2022/02/05 08:09:00 build.go:394: rint(_A1 __lcpp_x) _NOEXCEPT {return ::rint((double)__lcpp_x);}
      agent:2022/02/05 08:09:00 build.go:394: ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:172:36: error: use of undeclared identifier 'rit'
      agent:2022/02/05 08:09:00 build.go:394:         const QString &paramName = rit.key();
      agent:2022/02/05 08:09:00 build.go:394:                                    ^
      agent:2022/02/05 08:09:00 build.go:394: /Users/qt/work/qt/qtapplicationmanager/src/intent-server-lib/intent.cpp:177:40: error: use of undeclared identifier 'rit'
      agent:2022/02/05 08:09:00 build.go:394:         const QVariant requiredValue = rit.value();
      agent:2022/02/05 08:09:00 build.go:394:                                        ^
      agent:2022/02/05 08:09:00 build.go:394: 10 errors generated.
      

      Build log: https://testresults.qt.io/logs/qt/qtapplicationmanager/42504b3ca0d78e4ca70c103cce2bb5e146a29539/MacOSMacOS_12x86_64MacOSMacOS_12x86_64Clangqtci-macos-12-x86_64-102-5a3001Sccache_WarningsAreErrors/962d09309244504befc0838521cb31aeb5c18d64/build_1644048507/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtapplicationmanager/tasks/1644048423

      Tested changes (refs/builds/qtci/dev/1644048421):

      https://codereview.qt-project.org/c/qt/qtapplicationmanager/+/394208/2 Update dependencies on 'dev' in qt/qtapplicationmanager

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes