Only add_definitions in one place

Authored by heikobecker on Mar 7 2019, 9:39 AM.

Description

Only add_definitions in one place

Also keep the version passed to QT_DISABLE_DEPRECATED_BEFORE in sync
with the minimal required version.