Qt 4.5 compatability