Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown module(s) in QT: multimedia

I have downloaded qt-everywhere-opensource-src-5.4.1 and build and installed static. Next i built QMultimedia and installed.

I get "Unknown module(s) in QT: multimedia" from the .pro when including QT += multimedia.

I have QtMultimedia,QtMultimediaQuick_p and QtMultimediaWidgets in /usr/local/Qt-5.4.1/include. Also have mediaservice,playlistformats in /usr/local/Qt-5.4.1/plugins Also have QtMobility,QtMultimediaKit in /usr/include

I am running Ubuntu 15.0

All related issues i've found did not help.

like image 417
Acha Bill Avatar asked Jun 13 '15 10:06

Acha Bill


People also ask

What is the Qt Multimedia Module?

The first beta of Qt 6.2 has just been released and features amongst multiple other new Add-ons a brand new Qt Multimedia module. Qt Multimedia is a module that has undergone some rather large changes for Qt 6. In many ways, it’s a new API and implementation even though we re-used some of the code from Qt 5.15.

What's new in QT 6?

The first beta of Qt 6.2 has just been released and features amongst multiple other new Add-ons a brand new Qt Multimedia module. Qt Multimedia is a module that has undergone some rather large changes for Qt 6.

What happened to Qt multimedia in Qt5?

Qt Multimedia in Qt 5 had a rather loosely defined scope. Support for different parts of the API wasn't consistent across different backends, and parts of the API itself were not easy to use in a cross-platform way.

How many lines of code does Qt multimedia have?

Where Qt Multimedia in 5.15 was around 140.000 lines of code, we are currently down to around 74.000 lines of code in Qt 6. With Qt 6 we have also revisited the supported backends and reduced those to a set we believe can be supported in the future.


1 Answers

Please run:

sudo apt-get install qtmultimedia5-dev

afterwards you can install other multimedia packages as needed, but this enables the multimedia in general.

like image 154
Jörg.Jacobs Avatar answered Sep 18 '22 22:09

Jörg.Jacobs