Undefined link to QMediaPlayer and QVideoWidget

Despite the fact that I declared QT + = multimedia multimedia files in my .pro file, I get an Undefined error message with QMediaPlayer and QVideoWidget constructors, destructors and methods , I included the path in my .pro file for these files in / usr / include / QtMultimetiaKit, like this INCLUDEPATH + = / usr / include / QtMultimediaKit / , but the errors are the same, what else to try?

I am running Qt 4.8.6 and Qt Creator 3.5.1 on Ubuntu 14.04.3.

+6
source share
1 answer

You need to add to the .pro file:

CONFIG += mobility MOBILITY += multimedia 
+1
source

All Articles