5

对于 Qt qmake变量,我有时会看到不同的符号。

例子

$$PWD
$${PWD}

对我来说它似乎工作相同,有什么区别?

4

1 回答 1

6

根据文档,这两个符号几乎是等价的。唯一的区别是the second notation allows you to append the contents of the variable to another value without separating the two with a space

于 2012-07-26T06:13:53.960 回答