July 5, 2011

Dieter Dieter
Lab Rat
94 posts

[solved] qmake scope based on (32 vs 64) architecture

 

i cannot seem to find in the documentation how to use a scope based on the architecture.
i’m currently using

  1. CONFIG += x86 x86_64
  2. macx:INCLUDEPATH += ../../../oci/mac_i386/include

and would need to use different include directories depending on the 32bit or 64bit architecture.
is there a way to do this?

2 replies

July 5, 2011

Lukas Geyer Lukas Geyer
Lab Rat
2074 posts

How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform? [developer.qt.nokia.com]

Building projects for 32 and 64 bit Windows on 64 bit machine [developer.qt.nokia.com]

July 5, 2011

Dieter Dieter
Lab Rat
94 posts

Lukas Geyer wrote:
How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform? [developer.qt.nokia.com]

Building projects for 32 and 64 bit Windows on 64 bit machine [developer.qt.nokia.com]

Thank you!

 
  ‹‹ Menu not showing up in menuBar      Regarding using QFile::readAll ››

You must log in to post a reply. Not a member yet? Register here!