fix warning
set minimum Qt version to 4.7 and remove #ifdef code depending on prior versions