Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt no service found for - "org.qt-project.qt.mediaplayer"

Tags:

c++

qt

I'm using Ubuntu 16.04.

When I'm using Qt Creator with Qt 5.9.2, nothing goes wrong.

However, after I switch to Qt 5.10.0 and use static linking, the error appears:

First, qmake outputs several lines of Empty filename passed to function.

Then, after make, the application outputs several lines of defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer" and crashes.

Is there any solution to it?

Thanks in advance.

like image 553
Arolia Avatar asked Nov 28 '17 05:11

Arolia


1 Answers

Doing sudo apt-get install libqt5multimedia5-plugins worked for me.

like image 127
Vincz777 Avatar answered Sep 28 '22 15:09

Vincz777