Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows

Scheduled Pinned Locked Moved Solved Qt for Python
12 Posts 5 Posters 5.5k Views 2 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.
  • M Offline
    M Offline
    midnightdim
    wrote on last edited by
    #1

    I'm using PySide6 on Windows 7, installed it with pip.
    When I run

    from PySide6.QtMultimedia import QMediaPlayer, QMediaPlaylist
    from PySide6.QtMultimediaWidgets import QVideoWidget
    

    I get an error:
    ModuleNotFoundError: No module named 'PySide6.QtMultimedia'

    I checked my Python38\Lib\site-packages\PySide6\include - it doesn't have QtMultimedia and QtMultimediaWidgets subfolders, although Python38\Lib\site-packages\PySide2\include does.

    How can I get these packages?

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

      Hi,

      @midnightdim said in QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows:

      How can I get these packages?

      Wait for it to be released. 6.0 does not contain it.

      See this wiki page for the release status.

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

      M 1 Reply Last reply
      3
      • SGaistS SGaist

        Hi,

        @midnightdim said in QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows:

        How can I get these packages?

        Wait for it to be released. 6.0 does not contain it.

        See this wiki page for the release status.

        M Offline
        M Offline
        midnightdim
        wrote on last edited by
        #3

        @SGaist I see, thanks. I'd like to start implementing some features using these packages. Would you recommend using PySide2 and then switching back to PySide6? Will there be any compatibility issues?
        Is there a good way to use these PySide2 components together with PySide6?
        This might sound weird, but I'm new to Qt and PySide, so I'm looking for some guidance here. Thanks again.

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

          Just go with PySide2 for now. Once Qt 6 reaches the level in terms of the modules you need, you can then switch over to it.

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

          M 1 Reply Last reply
          1
          • SGaistS SGaist

            Just go with PySide2 for now. Once Qt 6 reaches the level in terms of the modules you need, you can then switch over to it.

            M Offline
            M Offline
            midnightdim
            wrote on last edited by
            #5

            @SGaist Thanks, it seems to work just fine with PySide2 and some little adjustments.
            I wonder why in PySide6 repository that I found (git://code.qt.io/pyside/pyside-setup.git) the examples depend on these modules (and don't work).

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

              Well, most of the modules will come back in the more or less near futur so I am guessing that nuking the documentation and put it back afterward would have likely generated a non trivial amount of work but it's really just a guess.

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

              1 Reply Last reply
              0
              • M midnightdim

                @SGaist Thanks, it seems to work just fine with PySide2 and some little adjustments.
                I wonder why in PySide6 repository that I found (git://code.qt.io/pyside/pyside-setup.git) the examples depend on these modules (and don't work).

                JKSHJ Online
                JKSHJ Online
                JKSH
                Moderators
                wrote on last edited by
                #7

                @midnightdim said in QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows:

                I wonder why in PySide6 repository that I found (git://code.qt.io/pyside/pyside-setup.git) the examples depend on these modules (and don't work).

                I'd say @SGaist is right.

                These examples are old and worked fine in PySide2. They will work again in an upcoming version of PySide6.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                EmrecpE 1 Reply Last reply
                1
                • JKSHJ JKSH

                  @midnightdim said in QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows:

                  I wonder why in PySide6 repository that I found (git://code.qt.io/pyside/pyside-setup.git) the examples depend on these modules (and don't work).

                  I'd say @SGaist is right.

                  These examples are old and worked fine in PySide2. They will work again in an upcoming version of PySide6.

                  EmrecpE Offline
                  EmrecpE Offline
                  Emrecp
                  wrote on last edited by
                  #8

                  @JKSH I am waiting too! Qt 6.0.2 doesn't support.

                  SGaistS 1 Reply Last reply
                  0
                  • EmrecpE Emrecp

                    @JKSH I am waiting too! Qt 6.0.2 doesn't support.

                    SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Emrecp as already said, Qt Multimedia will not be part of the 6.0 series. AFAIK, at the latest, it should 6.2.

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

                    1 Reply Last reply
                    1
                    • ralienppR Offline
                      ralienppR Offline
                      ralienpp
                      wrote on last edited by
                      #10

                      Although we are in the Qt 6.2 era now, the module is not available. The aforementioned wiki page with progress tracking references some JIRA tickets, but the URLs are not valid.

                      Where can one find out the latest news about any developments on this front?

                      JKSHJ 1 Reply Last reply
                      0
                      • ralienppR ralienpp

                        Although we are in the Qt 6.2 era now, the module is not available. The aforementioned wiki page with progress tracking references some JIRA tickets, but the URLs are not valid.

                        Where can one find out the latest news about any developments on this front?

                        JKSHJ Online
                        JKSHJ Online
                        JKSH
                        Moderators
                        wrote on last edited by JKSH
                        #11

                        @ralienpp said in QtMultimedia and QtMultimediaWidgets missing in PySide6 on Windows:

                        Although we are in the Qt 6.2 era now, the module is not available.

                        It is (e.g. https://doc.qt.io/qtforpython/PySide6/QtMultimedia/QMediaPlayer.html )

                        The aforementioned wiki page with progress tracking references some JIRA tickets, but the URLs are not valid.

                        Hmm... that's very unfortunate. Note, however, that that wiki page is for Qt 6.0 preparations.

                        Where can one find out the latest news about any developments on this front?

                        https://www.qt.io/blog/qt-multimedia-in-qt-6

                        Note that there are major changes between Qt 5 and Qt 6.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply
                        2
                        • ralienppR Offline
                          ralienppR Offline
                          ralienpp
                          wrote on last edited by
                          #12

                          Note that there are major changes between Qt 5 and Qt 6.

                          Aha, that's it. I thought it wasn't ready because QMediaContent and QMediaPlaylist are missing, but according to the materials you've referenced, this is by design: "We have for now removed all playlist functionality from the module".

                          Thank you for the clarification.

                          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