Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unknown module : multimedia

    General and Desktop
    3
    9
    27614
    Loading More Posts
    • 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.
    • T
      TwoOfDiamonds last edited by

      Hello !
      I'm running ubuntu 13.04 and i'm using qt5 . I want to make my application play a small .wav file at a certain event but for that i found out that i need to include the multimedia module but when i do that it says "Unknown module(s) in QT: multimedia" .

      @
      #-------------------------------------------------

      Project created by QtCreator 2012-06-24T12:27:41

      #-------------------------------------------------

      QT += core gui widgets
      QT += multimedia

      TARGET = CptShutWin
      TEMPLATE = app
      win32:RC_FILE += myapp.rc

      SOURCES += main.cpp
      mainwindow.cpp
      setpassword.cpp
      askpassword.cpp
      note.cpp
      addnote.cpp
      focuslineedit.cpp
      getlinuxpass.cpp

      HEADERS += mainwindow.h
      setpassword.h
      askpassword.h
      note.h
      addnote.h
      focuslineedit.h
      getlinuxpass.h

      FORMS +=
      mainwindow.ui
      setpassword.ui
      askpassword.ui
      addnote.ui
      getlinuxpass.ui
      @

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • JKSH
        JKSH Moderators last edited by

        Your file timestamp says "2012-06-24", which is 6 months before Qt 5 was released. Is it an old Qt 4 project that was ported? Delete your configuration and re-configure it using Qt 5. (Close Qt Creator, delete CptShutWin.pro.user, and then re-open the project in Qt Creator)

        Also, which version of Qt 5 did you download?

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

        1 Reply Last reply Reply Quote 0
        • T
          TwoOfDiamonds last edited by

          The one available at Ubuntu Software Center :)

          Also, it's not working with simple reconfigure :(

          1 Reply Last reply Reply Quote 0
          • JKSH
            JKSH Moderators last edited by

            Search the Software Centre for "Qt 5 Multimedia module" -- is it installed?

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

            1 Reply Last reply Reply Quote 0
            • T
              TwoOfDiamonds last edited by

              It wasn't ... I'm installing it right now . shouldn't it have been included since it "essential" ?

              EDIT : still nothing

              1 Reply Last reply Reply Quote 0
              • JKSH
                JKSH Moderators last edited by

                [quote author="TwoOfDiamonds" date="1369574777"]shouldn't it have been included since it "essential" ?[/quote]It's not fully in the Qt Project's control... Linux distro maintainers will take a library (such as Qt) and package it in a way that suits their distro. This means the library could be packaged very differently in Ubuntu compared with Fedora.

                A few years ago, Ubuntu decided to merge Qt Multimedia into Qt Mobility, which caused headaches for users. I'm not sure if issues like this still exist... (I download Qt from http://qt-project.org/downloads because the Software Centre has an older version)

                Maybe "Qt 5 Multimedia module" is only for running multimedia apps, not compiling them. Try installing "qtmultimedia5-dev" (and make sure you restart Qt Creator if you use it)

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

                1 Reply Last reply Reply Quote 2
                • T
                  TwoOfDiamonds last edited by

                  Thank you sir !
                  It worked . i'm not used to linux ... but i just got a new laptop and it was freedos and the only win version that it accepts is win8 ... so i decided on ubuntu :D so it's a little tricky for me at the moment

                  Thank you again !

                  1 Reply Last reply Reply Quote 0
                  • JKSH
                    JKSH Moderators last edited by

                    You're welcome; I'm glad it's working now :)

                    Happy coding!

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

                    1 Reply Last reply Reply Quote 0
                    • M
                      maatong last edited by

                      meet same problem here.
                      I use qt for embedded linux.
                      I posted my problem here:
                      http://qt-project.org/forums/viewthread/41830/
                      Do you have any idea with this?
                      Thanks a lot.

                      https://www.linkedin.com/pub/yini-guo/71/4b3/4a0

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post