On Monday, 5 August 2013 19:54:05 CEST, Thomas Lübking wrote:
Did i miss this?
Where's mentioned "does not work" (reason is perhaps lacking Q_OBJECT macro?)

From pali-gsoc-merge:src/Common/PluginLoader.cpp:

// NOTE: qobject_cast not working when trojita is compiled as shared
library, dynamic_cast working fine
AddressbookInterface *newAddressbook =
dynamic_cast<AddressbookInterface *>(plugin);
PasswordInterface *newPassword = dynamic_cast<PasswordInterface
*>(plugin);

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to