Made source & pro compatible with both Qt4 and Qt5