1

Is there a quick way to obtain a set of 32 bit qt libraries? I need to put them on my 64 bit ubuntu os which already has qt installed (64 bits).

Toon Krijthe
  • 52,876
  • 38
  • 145
  • 202
yan bellavance
  • 4,710
  • 20
  • 62
  • 93

2 Answers2

3

If you already have the generic source, then run configure with the following option:

./configure --platform=linux-g++-32
Kaleb Pederson
  • 45,767
  • 19
  • 102
  • 147
2
sudo apt-get install ia32-libs

According to the content listing at http://packages.ubuntu.com/karmic/ia32-libs it contains 32bit QT.

  • says it is already installed....actually im trying to create a 32 bit executable to send on a RHEL 5 x86_32. Im gonna build it on ubuntu 64 karmic then send him the executable alog with the qt libs – yan bellavance Apr 23 '10 at 19:46
  • 1
    You'll need to verify that you don't have a higher version of glibc, and then confirm that your version of Qt isn't compiled against something not present on his, such as `XFixes` which isn't present on older systems. Providing binaries is nice, but it's also somewhat of an art form. – Kaleb Pederson Apr 23 '10 at 20:00
  • You are right, it is alot more complexe than just installing the 32 bit version of qt. I was successfull in providing 64 bit binaries to multiple linux distros that are also 64 bit but now this adds another obstacle to my goal. I will probably just use a vm machine if i dont get this resolved soon. – yan bellavance Apr 23 '10 at 21:05