I have had an issue for a while now whenever I try to use setProperty within C++ code, I've previously managed to work around it but I wanted to flag it up with you to see if you have a solution.
If I use the following code as an example
Code: Select all
QSharedPointer<REntity> entity = docInterface->getDocument().queryEntity(id);
if (entity.isNull()) {
continue;
}
entity->setProperty(REntity::PropertyLayer, "layer-name");
Code: Select all
CreateModulesInRunForm.obj:-1: error: LNK2019: unresolved external symbol "public: static class RPropertyTypeId REntity::PropertyLayer" (?PropertyLayer@REntity@@2VRPropertyTypeId@@A)
Any ideas what might be causing this?
Thanks,
Andrew.