Made QUpgrade build with Qt4 and Qt5