You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Christopher Dean edited this page Mar 25, 2019
·
2 revisions
If you encounter an issue compiling related to unknown reference to: RemoteInvokeMetaMethod
This is a very easy fix. Locate the include directory for the Qt libraries you are building with.
/QtMainDir/include/QtCore/
Now open the file qobjectdefs.h for writing.
Locate the "QMetaObject::Call" enum (somewhere around line 550+) . At the end, append RemoteInvokeMetaMethod.
Before:
enum Call {
InvokeMetaMethod,
ReadProperty,
WriteProperty,
ResetProperty,
QueryPropertyDesignable,
QueryPropertyScriptable,
QueryPropertyStored,
QueryPropertyEditable,
QueryPropertyUser,
CreateInstance,
IndexOfMethod,
RegisterPropertyMetaType,
RegisterMethodArgumentMetaType
};
After:
enum Call {
InvokeMetaMethod,
ReadProperty,
WriteProperty,
ResetProperty,
QueryPropertyDesignable,
QueryPropertyScriptable,
QueryPropertyStored,
QueryPropertyEditable,
QueryPropertyUser,
CreateInstance,
IndexOfMethod,
RegisterPropertyMetaType,
RegisterMethodArgumentMetaType,
RemoteInvokeMetaMethod
};
I have seen Zero adverse affects in non-remote object based projects with this change. If you find one please reply.