Prepare for Qt5.