Downgrading the whole source code to extend Qt 4.x support/compatibility