Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-101062

Provide API to define qsb version in QShaderBaker

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.5
    • 6.3
    • Qt Shader Tools
    • 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.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kagro Kaj Grönholm
            kagro Kaj Grönholm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change