add "greaterThan(QT_MAJOR_VERSION, 4): QT += widgets" to .pro file
make sure Qt 5 Multimedia module is installed and add "QT += multimedia " to .pro file