hello,

we are using Grantlee in the Subsurface project.
the following errors appear when loading a HTML template on OSX only
with Qt5.4 and Grantlee 5.0.0 (reported by Robert):

Grantlee::Template t = m_engine->loadByName(someTemplate);

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Grantlee::Parser(0x7fff5fbfb8f8), parent's thread is
QThread(0x104d2da60), current thread is QThread(0x11d4b9240)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Grantlee::Parser(0x7fff5fbfb8f8), parent's thread is
QThread(0x104d2da60), current thread is QThread(0x11d4b9240)
QObject::setParent: Cannot set parent, new parent is in a different thread

then it says:
htmlContent = t->render(&c);

Don't know how to handle metatype
...

any idea how to solve the issue?

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to