[Interest] [SOLVED] Re: Cannot resolve qt_plugin_instance in QQmlExtensionPlugin
Maxim Kouprianov
maxim at kouprianov.com
Wed Apr 17 14:49:21 CEST 2013
Found that in my .pro file:
QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
That's making qt_plugin_instance symbol hidden by default.
Problem is solved.
Maxim Kouprianov пишет:
> Hi all.
>
> I'm trying to write some QML extension plugin (QQmlExtensionPlugin, Qt5.0).
>
> But it fails to load completely:
>
> > plugin cannot be loaded for module "MyPlugin.MyClass": Cannot resolve
> > symbol "qt_plugin_instance" in
> > imports/MyPlugin/MyClass/libmypluginmyclassplugin.so:
> > (Symbol not found: ).
>
> Plugin source: https://gist.github.com/Xlab/2558aa068d49f0a2b6aa
> What additional information shall I provide?
> How to debug that cases?
>
> Please help :(
> Thanks in advance.
>
--
Regards,
Maxim Kouprianov
More information about the Interest
mailing list