Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1726

Error building Qt for Python 6.2.2: Undefined reference to QQuickRenderTarget::fromVulkanImage in QtQuick module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.2.9
    • Build System
    • None
    • Windows 10, Qt 6.2.2, MSVC 2019, clang 10, python 3.9
      and
      Ubuntu Linux 20.04, Qt 6.2.2, gcc, clang 10, Python 3.8
    • Linux/Wayland, Windows
    • 4edf10f65df0542d66cd55e500c6315ff4197a39 (pyside/pyside-setup/6.2)

    Description

      Building PySide release 6.2.2 under Windows and Linux fails when trying to build the QtQuick module, with undefined references to Vulkan-related functions:

      Under Windows and Python 3.9:

      [1028/1632] Linking CXX shared module PySide6\QtQuick.cp39-win_amd64.pyd
      FAILED: PySide6/QtQuick.cp39-win_amd64.pyd
      (...)
      qquickrendertarget_wrapper.cpp.obj : error LNK2019: unresolved external symbol "_declspec(dllimport) public: static class QQuickRenderTarget __cdecl QQuickRenderTarget::fromVulkanImage(unsigned __int64,int,class QSize const &,int)" (imp?fromVulkanImage@QQuickRenderTarget@@SA?AV1@_KHAEBVQSize@@H@Z) referenced in function Sbk_QQuickRenderTargetFunc_fromVulkanImage

      Under Ubuntu 20.04 and Python 3.8:

      ImportError: /home/george/Qt/6.2.2/pyside_6.2.2_py38/venv3_build/py3.8-qt6.2.2-64bit-release/pyside6/PySide6/QtQuick.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN18QQuickRenderTarget15fromVulkanImageEyiRK5QSizei

       

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-1726
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              gchristodoulides George Christodoulides
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes