标签: qt4 qt-creator qmake
对于Qt qmake variables我有时会看到不同的符号。
实施例
$$PWD $${PWD}
对我而言似乎工作原理相同,有什么区别?
答案 0 :(得分:5)
根据documentation,这两个符号几乎相同。唯一的区别是the second notation allows you to append the contents of the variable to another value without separating the two with a space。
the second notation allows you to append the contents of the variable to another value without separating the two with a space