QT creator error: C1083: unable to open include file: “qmediaplayer”

QT creator error: C1083: unable to open include file: “qmediaplayer”: no such file or directory

But it was good before, and it was also good in other people’s code. After searching all afternoon, we finally found a solution

http://bbs.csdn.net/topics/390884883

Add QT + = Multimedia widgets to the. Pro file

Clean up the next project.
Menu build run qmake

Note: be sure to execute qmake, not just clean up the project!!!!

Read More: