Hi there, I'm exploring the KF5, and I'm giving a try to the KPluginFactory/Info/Trader/Loader. I'm using Qt Creator with qmake.
I have been unsuccessful at using the K_PLUGIN_FACTORY_WITH_JSON macro, for some reason qmake/moc don't see the code generated by this macro and so never create the _moc.cpp file. It took me a while to realise that, because my plugin loader would come with errors such as "Plugin verification data mismatch", because my plugin object would contain only my own interface implementation and not the generated KPluginFactory implementation. I ended up writing the class myself (Which is actually trivial and quick) in a separate "pluginfactory.h" file. So has anyone had this kind of problem before? Is it that bad to use qmake instead of cmake for a Qt/KF5 app? Actually I don't like any of them, and i wish i could use QBS instead, but KDE doesn't seem to provide QBS modules for KF5. :( Thanks, Krys >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<