[Qt-interest] 64-bit Linux & jpeg plugin

Michael S msherman77 at yahoo.com
Wed Feb 8 17:07:34 CET 2012



 Thanks for your tip on 32-bit compat. libraries. I does work.
As a temporary measure this should suffice.

M.


________________________________
 From: Mandeep Sandhu <mandeepsandhu.chd at gmail.com>
To: Michael S <msherman77 at yahoo.com> 
Cc: qt mailinglist <qt-interest at trolltech.com> 
Sent: Tuesday, February 7, 2012 11:52:28 PM
Subject: Re: [Qt-interest] 64-bit Linux & jpeg plugin
 
Hi Michael,

Are you trying to run your 32-bit binaries on a 64-bit machine? If so,
you'll need to install  the "ia32-libs" package on your 64-bit
machine. This allows running 32bit x86 binaries on 64-bit x86
machines.

Also, which version of Qt (32bit or 64bit) do you ship in your app
archive? You can ship 32-bit binaries of both your app and Qt, as
64bit machines will run 32bit binaries, although they'll need the
extra package mentioned above.

HTH,
-mandeep


On Tue, Feb 7, 2012 at 9:05 PM, Michael S <msherman77 at yahoo.com> wrote:
> Hi all.
>
> I am having the following problem. I wrote an application that requires jpeg
> support, but I cannot load JPEG images.
> I distribute the application in a simple tar archive, where I have my
> application, the required qt libraries and plugins/imageformats folder which
> contains the supporting image libs.
> I also have a small shell script to set the LD_LIBRARY_PATH to current
> working directory. The program starts (qt libraries are being found), but I
> cannot load jpegs.
>
> A curious fact is, if I install the Qt SDK on that machine and link my
> application against the libraries in the SDK, everything works.
> This only happens on a 64-bit machine, 32-bit with the same set-up works
> fine. My target platform is Debian 6, 64-bit.
>
> I would appreciate any suggestions.
>
> Michael
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20120208/998bd58d/attachment.html 


More information about the Qt-interest-old mailing list