Qt4 port of QtCurve