Reintroduce some class definitions.
Qt5MacExtras is required on a Mac; report the version of Qt5