[Qt-interest] Postgresql Plugin cannot be loaded in linux

Karol Krizka kkrizka at gmail.com
Tue May 26 18:19:29 CEST 2009


On Tue, 2009-05-26 at 19:12 +0300, Nikos Geronitidis wrote:
> Hello list. I have created an application which runs correctly in
> Mandriva 2009.1 spring x86_64, except of the PostgreSQL pluging which
> fails to be loaded.
> My plugin was created in a 32-bit machine and is loaded correctly in
> any 32-bit machine I have tried it.
> I have set LD_LIBRARY_PATH and also added the current application path
> through Qt's function : 
> addLibraryPath(QCoreApplication::applicatioDirPath());
> Any ideas?
> 
Just to clarify, is it a custom plugin made by you or PostgreSQL that is
not loading and you are trying to debug? Also, have you recompiled your
plugin on the x86_64 machine before you tried to load it?

Also, you might want to turn on extra debug output for plugins. Run this
before you start your Qt app on linux
export QT_DEBUG_PLUGINS=1

--
Cheers,
Karol Krizka
http://www.krizka.net




More information about the Qt-interest-old mailing list