tests: Require Qt >= 5.8 for fully-qualified-moc-types
The bundled .moc file has macros that were only introduced in 5.8 (QT_WARNING_DISABLE_DEPRECATED)