fix qmake warning when building on qt4