Use QT_VERSION_CHECK instead

Authored by flherne on Mar 4 2017, 8:39 PM.