Fix build: still link to ItemModels if using Qt < 5.10

Authored by kossebau on Aug 12 2018, 8:40 PM.