fixed build issue in Qt 4.7