make ifdef for qt4 +5 compiling