Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt error: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
First, sorry for my bad english.
I have a small C++ Qt console program and it plays a sound.
When i run the project inside the Qt creator it plays the sound, but when i try to run the .exe not inside the Qt, i get the following text in my console program:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
I hope someone could help me
Hi and welcome to devnet,
What OS are you using ? What version of Qt ?
I'm using Windows 10 64-bit and Qt 5.7.0 for Windows 64-bit
Ok, then what console are you using to run your application ?
Since it's outside Qt Creator, did you follow the deployment steps for Windows (essentially run windeployqt) ?
I just click the builded .exe file in the release folder to run my console application, so i did not follow the deployment steps because i haven't known about it
fSociety last edited by
Thank you! It worked :)