Prepare .pro file to distinguish between Qt4 and Qt5.
Further prepare for Qt5.