I'm looking at the qmake documentation, and I wonder if it's possible to detect the architecture in detail of the system that qmake is being run on. I see the UNIX / WIN32 / MACX defined, but this is not detailed enough. I'd like to see separate linux x86 and x86_64, for example.

I saw some threads, like http://lists.trolltech.com/qt-intere...ad00343-0.html , but none if these seem to be conclusive. Nor did I find anything conclusive on the undocumented qmake site.

Is there a way to safely tell the nature of the arch one is building on?