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: Unresolved
    • P3: Somewhat important
    • None
    • 6.7, 6.8
    • WebEngine
    • None
    • Xcode: 15.4
      macOS SDK: 14.4
      molten-vk from Homebrew: 1.2.10
    • macOS

    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

        For Gerrit Dashboard: QTBUG-131342
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change