Arolia
Arolia

Reputation: 531

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

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.

Upvotes: 10

Views: 15016

Answers (1)

Vincz777
Vincz777

Reputation: 688

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

Upvotes: 23

Related Questions