Use clearer version check.
Some compilers may have a problem with the former placement.
Unified toolbar is obsolete in Qt 5, see QtMacExtras for replacement.