[Interest] inspect qmake makespec inside .pro

Thiago Macieira thiago.macieira at intel.com
Thu Feb 7 01:11:21 CET 2013


On quinta-feira, 7 de fevereiro de 2013 10.38.42, Hamish Moffatt wrote:
> Is it possible to inspect the makespec inside a .pro project? The
> documentation implies it should be in $$QMAKESPEC, but that always seems
> to be empty when I print it with message() or test it with contains().

The mkspec is active as a configuration. You can just do tests like:

linux { }
*-g++* { }
etc.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130206/c6095aaf/attachment.sig>


More information about the Interest mailing list