I have QVariant value. It tapeName() == "QAxObject*".
How can I convert this QVariant value to QAxObject*?

This doesn't work:
Qt Code:
  1. QVariant v = ....; // Here I init my QVariant value
  2. QAxObject* axObject = v.value<QAxObject*>();
To copy to clipboard, switch view to plain text mode 
It return a compiler error: 'qt_metatype_id' : is not a member of 'QMetaTypeId<T>'