Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7, 6.8
-
None
-
Xcode: 15.4
macOS SDK: 14.4
molten-vk from Homebrew: 1.2.10
Description
When building Qt 6.7.3 on macOS with molten-vk as Vulkan implementation (with export VULKAN_SDK=/opt/homebrew/opt/molten-vk/libexec, as Molten-VK is installed using Homebrew), Qt Webengine fails to compile with the following error:
/qt-everywhere-src-6.7.3/qtwebengine/src/core/compositor/native_skia_output_device_vulkan.cpp:252:34: error: use of undeclared identifier 'importMemoryHandleInfo' dedicatedMemoryInfo.pNext = &importMemoryHandleInfo; ^
The variable importMemoryHandleInfo is only defined if the OS is either Windows, or USE_OZONE is defined. From what I can see, USE_OZONE is set to always true in qtwebengine/src/core/CMakeLists.txt only if the operating system is Linux. This means that the variable if missing if the operating system is macOS.
It seems the problem was introduced with https://codereview.qt-project.org/c/qt/qtwebengine/+/528417
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131342 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
605812,1 | Disable building Vulkan support on macOS | dev | qt/qtwebengine | Status: NEW | +2 | 0 |