Description
Using the following example:
typedef int myint;
myint can be registered as a meta type and used with QVariant by doing:
Q_DECLARE_METATYPE(myint)
However registering this data type to a QScriptEngine via qScriptRegisterMetaType(...) will lead to unknown type exceptions.
"typedef int myint" is a silly example, but the same should be true for any data type defined in this way.
See attached example that reproduces this behavior.