qmake 手册

qmake 工具有助于简化不同平台开发项目的构建过程。它能自动生成 Makefile,因此创建每个 Makefile 只需几行信息。你可以在任何软件项目中使用 qmake,无论它是否使用 Qt 编写。

qmake 根据项目文件中的信息生成 Makefile。项目文件由开发者创建,通常比较简单,但也可以为复杂的项目创建更复杂的项目文件。

qmake 包含支持 Qt 开发的附加功能,自动包含mocuic 的编译规则。

qmake 还能为 Microsoft Visual studio 生成项目,而无需开发人员更改项目文件。

目录

© 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.