Description
In file included from /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:4: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.h:12:25: error: expected constructor, destructor, or type conversion before ‘(’ token 12 | QT_FORWARD_DECLARE_CLASS(QThread) | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:28:43: error: expected ‘)’ before ‘*’ token 28 | QtPositioningHelper(LocationProviderQt *provider); | ~ ^~ | ) /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:40:5: error: ‘LocationProviderQt’ does not name a type 40 | LocationProviderQt *m_locationProvider; | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:42:26: error: ‘LocationProviderQt’ was not declared in this scope 42 | base::WeakPtrFactory<LocationProviderQt> m_locationProviderFactory; | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:42:44: error: template argument 1 is invalid 42 | base::WeakPtrFactory<LocationProviderQt> m_locationProviderFactory; | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:48:41: error: expected constructor, destructor, or type conversion before ‘(’ token 48 | QtPositioningHelper::QtPositioningHelper(LocationProviderQt *provider) | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In member function ‘void QtWebEngineCore::QtPositioningHelper::updatePosition(const QGeoPositionInfo&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:154:9: error: ‘m_locationProvider’ was not declared in this scope; did you mean ‘LocationProviderQt’? 154 | if (m_locationProvider) | ^~~~~~~~~~~~~~~~~~ | LocationProviderQt /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:155:48: error: ‘LocationProviderQt’ has not been declared 155 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:155:110: error: request for member ‘GetWeakPtr’ in ‘((QtWebEngineCore::QtPositioningHelper*)this)->QtWebEngineCore::QtPositioningHelper::m_locationProviderFactory’, which is of non-class type ‘int’ 155 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In member function ‘void QtWebEngineCore::QtPositioningHelper::error(QGeoPositionInfoSource::Error)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:178:9: error: ‘m_locationProvider’ was not declared in this scope; did you mean ‘LocationProviderQt’? 178 | if (m_locationProvider) | ^~~~~~~~~~~~~~~~~~ | LocationProviderQt /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:179:48: error: ‘LocationProviderQt’ has not been declared 179 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:179:110: error: request for member ‘GetWeakPtr’ in ‘((QtWebEngineCore::QtPositioningHelper*)this)->QtWebEngineCore::QtPositioningHelper::m_locationProviderFactory’, which is of non-class type ‘int’ 179 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:187:1: error: ‘LocationProviderQt’ does not name a type 187 | LocationProviderQt::LocationProviderQt() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:192:1: error: ‘LocationProviderQt’ does not name a type 192 | LocationProviderQt::~LocationProviderQt() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:201:6: error: ‘LocationProviderQt’ has not been declared 201 | void LocationProviderQt::StartProvider(bool highAccuracy) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::StartProvider(bool)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:204:10: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 204 | if (!m_positioningHelper) { | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:205:55: error: invalid use of ‘this’ in non-member function 205 | m_positioningHelper = new QtPositioningHelper(this); | ^~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:209:31: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 209 | QMetaObject::invokeMethod(m_positioningHelper, "start", Qt::QueuedConnection, Q_ARG(bool, highAccuracy)); | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:212:6: error: ‘LocationProviderQt’ has not been declared 212 | void LocationProviderQt::StopProvider() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::StopProvider()’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:214:9: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 214 | if (m_positioningHelper) | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:218:6: error: ‘LocationProviderQt’ has not been declared 218 | void LocationProviderQt::OnPermissionGranted() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::OnPermissionGranted()’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:220:9: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 220 | if (m_positioningHelper) | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:224:6: error: ‘LocationProviderQt’ has not been declared 224 | void LocationProviderQt::SetUpdateCallback(const LocationProviderUpdateCallback& callback) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:224:50: error: ‘LocationProviderUpdateCallback’ does not name a type 224 | void LocationProviderQt::SetUpdateCallback(const LocationProviderUpdateCallback& callback) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::SetUpdateCallback(const int&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:226:5: error: ‘m_callback’ was not declared in this scope; did you mean ‘callback’? 226 | m_callback = callback; | ^~~~~~~~~~ | callback /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:229:6: error: ‘LocationProviderQt’ has not been declared 229 | void LocationProviderQt::updatePosition(const device::mojom::Geoposition &position) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::updatePosition(const device::mojom::Geoposition&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:231:5: error: ‘m_lastKnownPosition’ was not declared in this scope 231 | m_lastKnownPosition = position; | ^~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:232:5: error: ‘m_callback’ was not declared in this scope 232 | m_callback.Run(this, position); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:232:20: error: invalid use of ‘this’ in non-member function 232 | m_callback.Run(this, position); | ^~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics Sccache command failed, re-try calling build tool directly In file included from /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:4: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.h:12:25: error: expected constructor, destructor, or type conversion before ‘(’ token 12 | QT_FORWARD_DECLARE_CLASS(QThread) | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:28:43: error: expected ‘)’ before ‘*’ token 28 | QtPositioningHelper(LocationProviderQt *provider); | ~ ^~ | ) /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:40:5: error: ‘LocationProviderQt’ does not name a type 40 | LocationProviderQt *m_locationProvider; | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:42:26: error: ‘LocationProviderQt’ was not declared in this scope 42 | base::WeakPtrFactory<LocationProviderQt> m_locationProviderFactory; | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:42:44: error: template argument 1 is invalid 42 | base::WeakPtrFactory<LocationProviderQt> m_locationProviderFactory; | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:48:41: error: expected constructor, destructor, or type conversion before ‘(’ token 48 | QtPositioningHelper::QtPositioningHelper(LocationProviderQt *provider) | ^ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In member function ‘void QtWebEngineCore::QtPositioningHelper::updatePosition(const QGeoPositionInfo&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:154:9: error: ‘m_locationProvider’ was not declared in this scope; did you mean ‘LocationProviderQt’? 154 | if (m_locationProvider) | ^~~~~~~~~~~~~~~~~~ | LocationProviderQt /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:155:48: error: ‘LocationProviderQt’ has not been declared 155 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:155:110: error: request for member ‘GetWeakPtr’ in ‘((QtWebEngineCore::QtPositioningHelper*)this)->QtWebEngineCore::QtPositioningHelper::m_locationProviderFactory’, which is of non-class type ‘int’ 155 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In member function ‘void QtWebEngineCore::QtPositioningHelper::error(QGeoPositionInfoSource::Error)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:178:9: error: ‘m_locationProvider’ was not declared in this scope; did you mean ‘LocationProviderQt’? 178 | if (m_locationProvider) | ^~~~~~~~~~~~~~~~~~ | LocationProviderQt /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:179:48: error: ‘LocationProviderQt’ has not been declared 179 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:179:110: error: request for member ‘GetWeakPtr’ in ‘((QtWebEngineCore::QtPositioningHelper*)this)->QtWebEngineCore::QtPositioningHelper::m_locationProviderFactory’, which is of non-class type ‘int’ 179 | postToLocationProvider(base::BindOnce(&LocationProviderQt::updatePosition, m_locationProviderFactory.GetWeakPtr(), newPos)); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:187:1: error: ‘LocationProviderQt’ does not name a type 187 | LocationProviderQt::LocationProviderQt() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:192:1: error: ‘LocationProviderQt’ does not name a type 192 | LocationProviderQt::~LocationProviderQt() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:201:6: error: ‘LocationProviderQt’ has not been declared 201 | void LocationProviderQt::StartProvider(bool highAccuracy) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::StartProvider(bool)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:204:10: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 204 | if (!m_positioningHelper) { | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:205:55: error: invalid use of ‘this’ in non-member function 205 | m_positioningHelper = new QtPositioningHelper(this); | ^~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:209:31: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 209 | QMetaObject::invokeMethod(m_positioningHelper, "start", Qt::QueuedConnection, Q_ARG(bool, highAccuracy)); | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:212:6: error: ‘LocationProviderQt’ has not been declared 212 | void LocationProviderQt::StopProvider() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::StopProvider()’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:214:9: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 214 | if (m_positioningHelper) | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:218:6: error: ‘LocationProviderQt’ has not been declared 218 | void LocationProviderQt::OnPermissionGranted() | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::OnPermissionGranted()’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:220:9: error: ‘m_positioningHelper’ was not declared in this scope; did you mean ‘QtPositioningHelper’? 220 | if (m_positioningHelper) | ^~~~~~~~~~~~~~~~~~~ | QtPositioningHelper /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:224:6: error: ‘LocationProviderQt’ has not been declared 224 | void LocationProviderQt::SetUpdateCallback(const LocationProviderUpdateCallback& callback) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:224:50: error: ‘LocationProviderUpdateCallback’ does not name a type 224 | void LocationProviderQt::SetUpdateCallback(const LocationProviderUpdateCallback& callback) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::SetUpdateCallback(const int&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:226:5: error: ‘m_callback’ was not declared in this scope; did you mean ‘callback’? 226 | m_callback = callback; | ^~~~~~~~~~ | callback /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: At global scope: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:229:6: error: ‘LocationProviderQt’ has not been declared 229 | void LocationProviderQt::updatePosition(const device::mojom::Geoposition &position) | ^~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp: In function ‘void QtWebEngineCore::updatePosition(const device::mojom::Geoposition&)’: /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:231:5: error: ‘m_lastKnownPosition’ was not declared in this scope 231 | m_lastKnownPosition = position; | ^~~~~~~~~~~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:232:5: error: ‘m_callback’ was not declared in this scope 232 | m_callback.Run(this, position); | ^~~~~~~~~~ /home/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:232:20: error: invalid use of ‘this’ in non-member function 232 | m_callback.Run(this, position); | ^~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-stringop-overread’ may have been intended to silence earlier diagnostics [30664/30803] CXX obj/QtWebEngineCore/gl_surface_egl_qt.o [30665/30803] CXX obj/QtWebEngineCore/accessibility_tree_formatter_qt.o [30666/30803] CXX obj/QtWebEngineCore/authentication_dialog_controller.o [30667/30803] CXX obj/QtWebEngineCore/gl_ozone_egl_qt.o [30668/30803] LINK ./v8_context_snapshot_generator [30669/30803] CXX obj/QtWebEngineCore/web_engine_page_host.o [30670/30803] CXX obj/QtWebEngineCore/render_widget_host_view_qt.o ninja: build stopped: subcommand failed.
Details: https://testresults.qt.io/coin/integration/qt/qtwebengine/tasks/1690525276
Tested changes (refs/builds/qtci/dev/1685377246):
https://codereview.qt-project.org/c/qt/qtwebengine/+/480464/2 Update dependencies on 'dev' in qt/qtwebengine