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

Viewed 8972

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.

1 Answers

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

Related