Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Attempted to deserialize QShader with unknown version 9.
Qt 6.11 is out! See what's new in the release blog

Attempted to deserialize QShader with unknown version 9.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 495 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lenlend
    wrote on last edited by Lenlend
    #1

    I used qsb to compile the shader file. When I runned my code, it prompts an error message "Attempted to deserialize QShader with unknown version 9." I saw the qt example named custommaterial and used the qsb cmd "qsb -d" to check the qsb file. I found that it's qsb version is 5. Also I used the qsb option "--qsbversion" to switch versions. It would also prompt an error message "Attempted to deserialize QShader with unknown version6".

    I have reviewed the source code and it requires the QSB_VERSION must be 5. Howerver, the qsb tools can not generate this version. How to sholve this problem.

    1.PNG

    2.PNG

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved