Remove cmake code variant for no longer supported Qt <5.0 version

Authored by kossebau on Aug 28 2019, 6:54 PM.