try add compation to QT4, but not complete