Qt: Qt4 doesn't support RGBA directly. So lets convert manually.