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

qtwebengine/src/core/compositor/native_skia_output_device_vulkan.cpp:252:34: error: use of undeclared identifier 'importMemoryHandleInfo'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.2, 6.9.0 FF
    • 6.7, 6.8
    • WebEngine
    • None
    • Xcode: 15.4
      macOS SDK: 14.4
      molten-vk from Homebrew: 1.2.10
    • macOS
    • 56d5ecc00 (dev), b8b25bc19 (6.8)

    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

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

        Activity

          People

            pvarga Peter Varga
            moritzbrunner Moritz Brunner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes