Phonon 4.11.x doesn't build against Qt 5.9 because of a single env.var-related function call that must have been introduced in a later Qt version.
I don't see any mininmum Qt version specification, so here's a patch that makes the code build against at least Qt 5.9.8 .