Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. When using Qt 5.15 in Qt Creator, an error message about "invalid metadata" from PySide 6.8 pops up.

When using Qt 5.15 in Qt Creator, an error message about "invalid metadata" from PySide 6.8 pops up.

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 2 Posters 1.3k Views 1 Watching
  • 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.
  • Deng_YaoheD Offline
    Deng_YaoheD Offline
    Deng_Yaohe
    wrote on last edited by
    #1

    Found invalid metadata in lib D:/Software/Anaconda3/Lib/site-packages/PySide6/plugins/platforms/qdirect2d.dll: Invalid metadata version
    Found invalid metadata in lib D:/Software/Anaconda3/Lib/site-packages/PySide6/plugins/platforms/qminimal.dll: Invalid metadata version
    Found invalid metadata in lib D:/Software/Anaconda3/Lib/site-packages/PySide6/plugins/platforms/qoffscreen.dll: Invalid metadata version
    Found invalid metadata in lib D:/Software/Anaconda3/Lib/site-packages/PySide6/plugins/platforms/qwindows.dll: Invalid metadata version
    Screenshot 2025-07-28 113750.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Are you working within a conda environment and Qt 5 comes from the online installer ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Deng_YaoheD 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Are you working within a conda environment and Qt 5 comes from the online installer ?

        Deng_YaoheD Offline
        Deng_YaoheD Offline
        Deng_Yaohe
        wrote on last edited by
        #3

        @SGaist yes,and I'm new here and don't know what to do next.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          From the looks of it, it seems that you have installed PySide6 in your base conda environment which is something you should not do. The base environment is meant to have a minimal conda environment from which you create the others where you actually do the work and activate when needed.
          I can see multiple options:

          • cleanup the base environment
          • deactivate the base environment by default (look at the conda documentation for that)
          • install Qt through conda and use that version

          Personally, I would do the two former.
          Also, you should rather go with Qt 6.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Deng_YaoheD 1 Reply Last reply
          2
          • SGaistS SGaist

            From the looks of it, it seems that you have installed PySide6 in your base conda environment which is something you should not do. The base environment is meant to have a minimal conda environment from which you create the others where you actually do the work and activate when needed.
            I can see multiple options:

            • cleanup the base environment
            • deactivate the base environment by default (look at the conda documentation for that)
            • install Qt through conda and use that version

            Personally, I would do the two former.
            Also, you should rather go with Qt 6.

            Deng_YaoheD Offline
            Deng_YaoheD Offline
            Deng_Yaohe
            wrote on last edited by
            #5

            @SGaist Thanks bro,I did installed PySide6 in my base conda environment,and another PySide6 in a different conda environment.

            I have both Qt5 and Qt6 in my computer,thanks for your suggestion,bro.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              So did you get it working ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Deng_YaoheD 1 Reply Last reply
              0
              • SGaistS SGaist

                So did you get it working ?

                Deng_YaoheD Offline
                Deng_YaoheD Offline
                Deng_Yaohe
                wrote on last edited by
                #7

                @SGaist Yes,it works👍

                1 Reply Last reply
                1
                • Deng_YaoheD Deng_Yaohe has marked this topic as solved on

                • Login

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