Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Need QTMultimedia but cant find it?

Need QTMultimedia but cant find it?

Scheduled Pinned Locked Moved Unsolved Brainstorm
4 Posts 4 Posters 1.6k 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
    MrYellow
    wrote on last edited by
    #1

    my qt4 folder contains the following /usr/include/qt4$ ls phonon QtDBus QtHelp QtScriptTools QtUiTools Qt QtDeclarative QtNetwork QtSql QtXml Qt3Support QtDesigner QtOpenGL QtSvg QtXmlPatterns QtCore QtGui QtScript QtTest but the project that i am working on gives the following error: /usr/lib/i386-linux-gnu/qt4/bin/qmake -o Makefile SWipe.pro g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtMultimedia -I/usr/include/qt4 -I. -o main.o main.cpp In file included from main.cpp:2:0: swipe.h:11:10: fatal error: QAudioInput: No such file or directory #include <QAudioInput> ^~~~~~~~~~~~~

    1 Reply Last reply
    0
    • K Offline
      K Offline
      KonradMD
      wrote on last edited by KonradMD
      #2

      Did you add Qt Multimedia in your .pro file?

      In my case I wrote:

      QT       += core gui multimedia multimediawidgets
      
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        There's no QtMultimediaWidgets module in Qt 4 so you only need to add QT += multimedia to your .pro file.

        Might be a silly question but are you sure you installed the QtMultimedia development package ?

        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
        2
        • K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          Qt 4 has reached EOL long ago. Please consider upgrading to Qt 5

          1 Reply Last reply
          3

          • Login

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