Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project ERROR: Unknown module(s) in QT: multimedia

Tags:

makefile

qt

qmake

I am trying to compile qGo, after installing qt5

git clone https://github.com/pzorin/qgo.git
cd qgo
qmake
make
sudo make install

Right now the latest error is saying it can't find multimedia

# make
cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/jdm/Downloads/qgo/src/src.pro -o Makefile ) && make -f Makefile 
Project ERROR: Unknown module(s) in QT: multimedia
make: *** [sub-src-make_first] Error 3

I guessed the library libqt5multimedia5 based on this question, but the computer it says its already there and the error persists.

libqt5multimedia5 is already the newest version.

There is another similar question but the user answered his own question. I am not sure how it applies here:

  • "Project ERROR: Unknown module(s) in QT: multimedia" when building my project with fresh static Qt5.3.0
like image 417
john mangual Avatar asked Nov 15 '14 17:11

john mangual


1 Answers

I'm not able to post a comment, so I will write it as an answer. Your problem has been solved here: https://forum.qt.io/topic/27608/unknown-module-multimedia/6

In order to handle the issue you should try installing packages that are absent:

sudo apt-get install qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5

and restart your Qt Creator after that. Cheers.

UPDATE. If it will not work, try another solution:

sudo apt-get update
sudo apt-get build-dep qtmultimedia5-dev
sudo apt-get source --compile qtmultimedia5-dev

UPDATE 2 For me the solution was the following:

  1. Download sources from http://download.qt.io/development_releases/qt/5.4/5.4.0-rc/submodules/

  2. Build them, add the library manually.

like image 80
Sergey Gatich Avatar answered Oct 29 '22 20:10

Sergey Gatich