5

Qt qmake変数の場合、異なる表記が表示されることがあります。

$$PWD
$${PWD}

私にとっては同じように機能するようですが、違いは何ですか?

4

1 に答える 1

6

ドキュメントによると、2 つの表記法はほぼ同等です。唯一の違いは、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 に答える