[Qt-interest] How do I tell with qmake whether system is 64 or 32-bit?
Nikos Chantziaras
realnc at arcor.de
Thu Jun 9 02:06:28 CEST 2011
Then how do I link to the correct library?
On 06/09/2011 02:11 AM, Malyushytsky, Alex wrote:
> I don't think you can and I don't think it makes sense.
> It does not matter what system you are using to build your project,
> what matters is FOR which system you are building it.
>
> For example I can build on 32 bit windows 64 bit executable.
>
> Alex
>
>
> -----Original Message-----
> From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-bounces+alex=wai.com at qt.nokia.com] On Behalf Of Nikos Chantziaras
> Sent: Wednesday, June 08, 2011 12:25 PM
> To: qt-interest at qt.nokia.com
> Subject: [Qt-interest] How do I tell with qmake whether system is 64 or 32-bit?
>
> In a qmake-based project, I need to include different libraries in the
> build if the current system is 64-bit. Something like this:
>
> 64bit {
> LIBS += fmodex64
> }
> 32bit {
> LIBS += fmodex32
> }
>
> How do I do that?
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
>
> “Please consider our environment before printing this email.”
More information about the Qt-interest-old
mailing list