Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.3
-
None
-
df00f9ea8 (dev), 8aa212137 (6.5), 95bf5c972 (dev), 0f6db5cdc (dev), cac4ece71 (6.5), 477134905 (6.5)
Description
Currently baked QShaders support is forward-compatible, so shaders generated with Qt 6.x are compatible with that version and newer. This works when shaders are baked at runtime and/or shaders are used with the same Qt where the QShaderBaker is from.
But in future it may come more relevant that shaders are baked with QShaderBaker from newer Qt, while user wants to use shaders with older (LTS) Qt. So there could be API to set the version manually to older "compatibility" version.
Support should start from version 6 (Qt 6.3+) or 5 (Qt 6.0 - 6.2), no support for older version.