[Qt-interest] Find out why Qt plugin does not load?
Jason H
scorp1us at yahoo.com
Mon Mar 29 20:52:14 CEST 2010
set QT_DEBUG_PLUGINS=1 in your shell.
Then you will get the plugin resolution process logged on the console.
----- Original Message ----
From: Andre Somers <andre at familiesomers.nl>
To: Qt-interest <qt-interest at trolltech.com>
Sent: Mon, March 29, 2010 9:50:10 AM
Subject: [Qt-interest] Find out why Qt plugin does not load?
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é
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list