[Qt-interest] Building 32-bit libs/apps on 64-bit host?
Richard Danter
radanter at googlemail.com
Mon Jan 5 13:09:43 CET 2009
2009/1/5 Richard Danter <radanter at googlemail.com>:
> Hi all,
>
> I have recently switched from an Ubuntu 32-bit to 64-bit host. I am
> trying to build a library and some applications using qmake/make which
> build upon another library which is available only in 32-bit. No
> problems on the 32-bit host but of course I get a failure on the
> 64-bit host.
>
> I assume the Qt libs installed on my host are all 64-bit only.
>
> Is there a way to work in this mixed environment? Ideally I would like
> my library to be 32-bit (since it extends a 32-bit library) but for
> the applications to be 32- or 64-bit depending on the host but I could
> live with everything being 32-bit if needed provided I can still use
> the 64-bit Qt libs.
So having now had a strong cup of coffee I see my brain was asleep.
You can't mix 32- and 64-bit libs/apps as far as I know.
>
> If this is possible what should I put in the qmake file to achieve
> this? If there is a good doc somewhere could you send a link?
So I guess what I really need to be able to do is build a fully 32-bit
lib and apps on my 64-bit host. Anyone know how to achieve this on
Ubuntu (it's 8.04 if that makes any difference). I am using the Qt
libs from the Ubuntu repository.
Thanks
Rich
More information about the Qt-interest-old
mailing list