I hadn't realised it was just a warning rather than a configuration error and the makefile was still able to be generated. I've set a build off now.
It looks like that package isn't in debian stretch and I it doesn't look like it'll be buildable without a newer version of QT than stretch ships with.