Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
None
-
6.10
-
None
-
$ gcc --version
gcc (GCC) 15.1.1 20250425
Description
Compilation fails with the following error:
/data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp:475:40: error: 'GPUInfo' has not been declared 475 | log += "QSG RHI Device: "_L1 + GPUInfo::instance()->deviceName() + u'\n'; | ^~~~~~~ /data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp:477:37: error: 'GPUInfo' was not declared in this scope; did you mean 'gpu::GPUInfo'? 477 | + QLatin1StringView(GPUInfo::vendorToString(GPUInfo::instance()->vendor())) + u'\n'; | ^~~~~~~ | gpu::GPUInfo In file included from ../../../../../../src/qtwebengine/src/3rdparty/chromium/components/viz/service/gl/gpu_service_impl.h:35, from ../../../../../../src/qtwebengine/src/3rdparty/chromium/content/gpu/gpu_child_thread.h:21, from /data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp:26: ../../../../../../src/qtwebengine/src/3rdparty/chromium/gpu/config/gpu_info.h:267:19: note: 'gpu::GPUInfo' declared here 267 | struct GPU_EXPORT GPUInfo { | ^~~~~~~ /data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp: In lambda function: /data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp:1199:13: error: 'GPUInfo' has not been declared 1199 | if (GPUInfo::instance()->vendor() == GPUInfo::Nvidia) { | ^~~~~~~ /data/kde/kde/src/qtwebengine/src/core/web_engine_context.cpp:1199:46: error: 'GPUInfo' has not been declared 1199 | if (GPUInfo::instance()->vendor() == GPUInfo::Nvidia) { | ^~~~~~~