Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unknown module : multimedia
QtWS25 Last Chance

Unknown module : multimedia

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 29.0k 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.
  • T Offline
    T Offline
    TwoOfDiamonds
    wrote on last edited by
    #1

    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
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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
      0
      • T Offline
        T Offline
        TwoOfDiamonds
        wrote on last edited by
        #3

        The one available at Ubuntu Software Center :)

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

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          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
          0
          • T Offline
            T Offline
            TwoOfDiamonds
            wrote on last edited by
            #5

            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
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              [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
              2
              • T Offline
                T Offline
                TwoOfDiamonds
                wrote on last edited by
                #7

                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
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  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
                  0
                  • M Offline
                    M Offline
                    maatong
                    wrote on last edited by
                    #9

                    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
                    0

                    • Login

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