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).
Asked
Active
Viewed 4,035 times
2 Answers
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
-
I got the source for qt but I got the following error: linux-g++-32: unknown argument The specified system/compiler is not supported: /home/yan/qtSource3/mkspecs/yes – yan bellavance Apr 23 '10 at 19:35
-
1`qtSource3` seems to imply that's Qt-3? Is a linux-g++-32 bit folder present in the mkspecs directory? – Kaleb Pederson Apr 23 '10 at 19:58
-
yes the folder is present and no it is not it is not qt3, I simply called it like that, I had more than one folder of qt source – yan bellavance Apr 23 '10 at 20:37
-
1Do you have the `*-multilb` packages installed for gcc? – Kaleb Pederson Apr 23 '10 at 20:44
-
It wasnt installed. did a sudo apt-get install gcc-multilib and now it works thanks! – yan bellavance Apr 23 '10 at 21:18
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
-
1You'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