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

Karol Krizka kkrizka at gmail.com
Tue May 26 18:31:40 CEST 2009


On Tue, May 26, 2009 at 6:26 PM, Nikos Geronitidis <geronik444 at gmail.com> wrote:
> It is PostgreSQL plugin that it is not loaded..
> I will try to build it in x86-64 version and post the result.
> Thanks in advance..
>
Ah, Qt plugins build for 32 bit DO NOT work on 64 bit systems, and vice versa.

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

> ---------- Forwarded message ----------
> From: Karol Krizka <kkrizka at gmail.com>
> Date: Tue, May 26, 2009 at 7:19 PM
> Subject: Re: [Qt-interest] Postgresql Plugin cannot be loaded in linux
> To: Nikos Geronitidis <geronik444 at gmail.com>
> Cc: qt-interest at trolltech.com
>
>
> 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
>
>
>
>
> --
> Best Regards
> Nikos Gerontidis
>
> _______________________________________________
> 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