-
Notifications
You must be signed in to change notification settings - Fork 4
Missing reference to RemoteInvokeMetaMethod
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.
enum Call {
InvokeMetaMethod,
ReadProperty,
WriteProperty,
ResetProperty,
QueryPropertyDesignable,
QueryPropertyScriptable,
QueryPropertyStored,
QueryPropertyEditable,
QueryPropertyUser,
CreateInstance,
IndexOfMethod,
RegisterPropertyMetaType,
RegisterMethodArgumentMetaType
};
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.