diff options
author | Mike Krus <mike.krus@kdab.com> | 2021-03-16 09:47:38 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2021-03-22 10:00:22 +0100 |
commit | 9a473a3c9b246f4895ae73d7060745b8b199a6c5 (patch) | |
tree | 0ab43b532afdea78f1f8e25223d80711d01508f2 /src/core | |
parent | a536039d102f911677e5efec03cc6f3d701aceac (diff) | |
download | qt3d-9a473a3c9b246f4895ae73d7060745b8b199a6c5.tar.gz |
Fix detection of Vulkan
When Qt is built to enable Vulkan support, it is given the path to
the Vulkan header source. This then enables the vulkan feature.
Qt3D used this feature to decide if it could use Vulkan directly or
not, however, since it is now built separately, it has no idea where
to find the headers, so QVulkanInstance is not properly defined.
This caused an issue when using official installers of Qt since
those are configured to support Vulkan.
So we now do a separate config check to find Vulkan for Qt3D.
When building Qt3D, you need to make sure if can find Vulkan (the same
way you configure Qt itself)
Pick-to: 6.1
Task-number: QTBUG-90243
Change-Id: Ia05381597b4974d7b0914706ea2f607341dccacc
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions