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

/Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:89:70: error: unknown type name 'm_coordinate'

    XMLWordPrintable

Details

    Description

      agent:2021/11/29 05:49:38 build.go:394: In file included from /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:40:
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:89:70: error: unknown type name 'm_coordinate'
      agent:2021/11/29 05:49:38 build.go:394:     Q_OBJECT_BINDABLE_PROPERTY(QGeoCoordinateObject, QGeoCoordinate, m_coordinate,
      agent:2021/11/29 05:49:38 build.go:394:                                                                      ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:90:55: error: parameter declarator cannot be qualified
      agent:2021/11/29 05:49:38 build.go:394:                                &QGeoCoordinateObject::coordinateChanged)
      agent:2021/11/29 05:49:38 build.go:394:                                 ~~~~~~~~~~~~~~~~~~~~~~^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:90:55: error: C++ requires a type specifier for all declarations
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:89:5: error: C++ requires a type specifier for all declarations
      agent:2021/11/29 05:49:38 build.go:394:     Q_OBJECT_BINDABLE_PROPERTY(QGeoCoordinateObject, QGeoCoordinate, m_coordinate,
      agent:2021/11/29 05:49:38 build.go:394:     ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject_p.h:90:73: error: expected ';' at end of declaration list
      agent:2021/11/29 05:49:38 build.go:394:                                &QGeoCoordinateObject::coordinateChanged)
      agent:2021/11/29 05:49:38 build.go:394:                                                                         ^
      agent:2021/11/29 05:49:38 build.go:394:                                                                         ;
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:68:12: error: use of undeclared identifier 'm_coordinate'
      agent:2021/11/29 05:49:38 build.go:394:     return m_coordinate.value() == other.m_coordinate.value();
      agent:2021/11/29 05:49:38 build.go:394:            ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:68:42: error: no member named 'm_coordinate' in 'QGeoCoordinateObject'
      agent:2021/11/29 05:49:38 build.go:394:     return m_coordinate.value() == other.m_coordinate.value();
      agent:2021/11/29 05:49:38 build.go:394:                                    ~~~~~ ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:73:12: error: use of undeclared identifier 'm_coordinate'
      agent:2021/11/29 05:49:38 build.go:394:     return m_coordinate.value() == other;
      agent:2021/11/29 05:49:38 build.go:394:            ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:78:12: error: use of undeclared identifier 'm_coordinate'; did you mean 'coordinate'?
      agent:2021/11/29 05:49:38 build.go:394:     return m_coordinate;
      agent:2021/11/29 05:49:38 build.go:394:            ^~~~~~~~~~~~
      agent:2021/11/29 05:49:38 build.go:394:            coordinate
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:76:38: note: 'coordinate' declared here
      agent:2021/11/29 05:49:38 build.go:394: QGeoCoordinate QGeoCoordinateObject::coordinate() const
      agent:2021/11/29 05:49:38 build.go:394:                                      ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:78:12: error: reference to non-static member function must be called; did you mean to call it with no arguments?
      agent:2021/11/29 05:49:38 build.go:394:     return m_coordinate;
      agent:2021/11/29 05:49:38 build.go:394:            ^~~~~~~~~~~~
      agent:2021/11/29 05:49:38 build.go:394:                        ()
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:83:5: error: use of undeclared identifier 'm_coordinate'
      agent:2021/11/29 05:49:38 build.go:394:     m_coordinate = c; // The signal is emitted automatically if needed
      agent:2021/11/29 05:49:38 build.go:394:     ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:86:49: error: implicit instantiation of undefined template 'QBindable<QGeoCoordinate>'
      agent:2021/11/29 05:49:38 build.go:394: QBindable<QGeoCoordinate> QGeoCoordinateObject::bindableCoordinate()
      agent:2021/11/29 05:49:38 build.go:394:                                                 ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/install/lib/QtCore.framework/Headers/qobject.h:66:29: note: template is declared here
      agent:2021/11/29 05:49:38 build.go:394: template <typename T> class QBindable;
      agent:2021/11/29 05:49:38 build.go:394:                             ^
      agent:2021/11/29 05:49:38 build.go:394: /Users/qt/work/qt/qtpositioning/src/positioning/qgeocoordinateobject.cpp:88:39: error: use of undeclared identifier 'm_coordinate'
      agent:2021/11/29 05:49:38 build.go:394:     return QBindable<QGeoCoordinate>(&m_coordinate);
      agent:2021/11/29 05:49:38 build.go:394:                                       ^
      agent:2021/11/29 05:49:38 build.go:394: 13 errors generated.
      

      Build log: https://testresults.qt.io/logs/qt/qtpositioning/7176bc614b532a64dd918e9c5bed6a1a2808b461/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm64WarningsAreErrors/c7bda52357e6485f5705f03bdca335ccadb21d99/build_1638166162/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtpositioning/tasks/1638166078

      Tested changes (refs/builds/qtci/6.2/1638164934):
      https://codereview.qt-project.org/c/qt/qtpositioning/+/383495/3 Update dependencies on '6.2' in qt/qtpositioning

      Attachments

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

        Activity

          People

            ivan.solovev Ivan Solovev
            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