fix compiler qt4