[Qt-interest] Find out why Qt plugin does not load?

Andre Somers andre at familiesomers.nl
Mon Mar 29 15:50:10 CEST 2010


Hi,

I have created an SQL driver plugin, that used to load fine, but now 
isn't found or loaded anymore. I have no idea why.
I have installed the plugin in the prescribed places. I put some 
debugging code in the keys() method in the plugin to show some output 
when it is called, but it is not called. I also tried loading the plugin 
explicitly using QPluginLoader to see if I can some kind of feedback, 
but the only error it gives me is a very unhelpful "Unknown error".

Can anyone suggest ways to debug the failure of loading a plugin? Is 
there some switch to make Qt itself a bit more loud about this, instead 
of silently ignoring files it finds but can't load?

André




More information about the Qt-interest-old mailing list