upres for release
checking the SIP version to decide if QVariant is needed or not