aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-07 11:11:11 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-12-08 10:31:26 +0100
commite48f1f4ef9001d147aec682e5a04b169e46d0e4d (patch)
tree915858a7fc94c12bbb87fe14ce76a62a3bedc142 /tools/snippets_translate/main.py
parent59de6f6e6ed1d556d3f2d1bd9804fd237484d840 (diff)
Fix build when Vulkan is not installed
The Qt headers define some dummy types for Vulkan types that take effect when Vulkan is not installed. This causes QQuickRenderTarget::fromVulkanImage() and some other functions to be declared with no linkage, causing a link error in PySide. Reject the function (which happens in the normal case since VKImage is not known to shiboken). Suppress the warnings in the normal case. Pick-to: 6.2 Fixes: PYSIDE-1726 Change-Id: I915b477280bac5200c8206a7f9044b78c80e2936 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'tools/snippets_translate/main.py')
0 files changed, 0 insertions, 0 deletions