fixed a qt4 building error by papersize