参考

参考章节详细描述了 qmake 项目文件中可用的变量和函数。

变量参考

变量描述了 qmake 在配置项目联编过程时识别的变量。

函数参考

qmake 有两种函数:替换函数和测试函数。替换函数返回值列表,而测试函数返回布尔结果。这些函数在两个地方实现:基本功能作为内置函数提供。更复杂的函数在功能文件库(.prf)中实现。

函数根据其类型分为不同类别:

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.