[Interest] Help a unix guy on windows qmake

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Wed Apr 21 19:39:01 CEST 2021


On 21/04/2021 19:14, Thiago Macieira wrote:
> qmake does not expand environment variables at all.
> 
> $ X=A qmake Y=b /dev/stdin -o /dev/null <<<'message(r = $X $$Y)'
> Project MESSAGE: r = $X b

AFAIK, there's distinct syntax for everything:

$$X is a qmake variable called X
$$(X) is an environment variable called X (evaluated when qmake is ran)
$(X) is an environment variable called X (evaluated when make is ran)

But no $X. I'm still not sure what $PROJ means.

Thanks,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210421/f9f31e44/attachment-0001.bin>


More information about the Interest mailing list