custom plugin load fails...
I have created a custom plugin for loading onto Qt designer.I had compiled the plugin using qtopia 4.3.3 library which generated a shared library.I copied the .so file onto
/usr/lib/qt4/plugins folder.
Then when I open Qt Designer tool I get this error of failed plugin
The plugin /usr/lib/qt4//plugins/designer/libmywidgetplugin.so uses incompatible Qt Library(4.3.3) release.
Is there any way to get around this?
I am using
Qt Designer 4.3.2 open source
Qtopia open source 4.3.3
Re: custom plugin load fails...
Are you running Designer on an embedded device??? If this is not the case (very probable) then you'd better compile your plugin against a proper Qt desktop edition for the platform you're using...
Re: custom plugin load fails...
Hi,
I am developing the GUI for an embedded device(ARM9) but I am using Qt Designer on the host(PC) side.
For compiling the plugin I have used gcc compiler and not arm-linux-gcc
My basic motive is to add some custom plugins on to the designer which can be dragged and dropped like standard plugins.This is what I have done:
1)I created a plugin in /tmp folder.I ran qmake and make.This compiled using gcc compiler and generated a .so file .
2)I copied this .so file in the /usr/lib/qt4/plugins/designer folder and restarted the Qt Desginer tool which showed the plugin load error.
Is there anything wrong with my approach?Should I compile it with arm-linux-gcc?
Re: custom plugin load fails...
compiling with gcc is fine if you want to use your plugin with Qt Designer
the only thing I can think about are :
- debug/release mismatch
- missing symbol in your plugin (a method not implemented for instance) which cause outright loading failure