You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, February 11th 2016, 2:27pm

I can't add QtMultimedia features on y Qt project!

I am trying to compile a Qt5 project that should play a video, and I
found the Multimedia widget could be used for it. The problem is that
when I add the line:

Source code

QT +=    multimedia

on my .pro file, it gives me the following build error:

Source code

:-1: error: Unknown module(s) in QT: multimedia 

The qtmultimedia5-dev packet seems to be installed (looking in Ubuntu software centre), but the error in Qt remains! Any idea about the solution for that? I'm quite new to Qt and C++... Is there something I am missing?

  • "PoojaVishwanath" is female

Posts: 13

Location: Bangalore

Occupation: Software Developer

  • Send private message


Friday, February 12th 2016, 10:23am

Try this and let me know whether it works or not.
Install this package
sudo apt-get install qtmultimedia5-dev libqt5multimediawidgets5 libqt5multimedia5-plugins libqt5multimedia5
and restart your Qt Creator

Similar threads