Build with CMake
CMake is a tool to simplify the build process for development projects across different platforms.
CMake automatically generates build systems, such as Makefiles and Ninja files.
CMake is a third-party tool with its own documentation. This manual focuses on how to use
CMake to build Qt applications and libraries.
Table of Contents
- Getting started with CMake
- Building a QML application
- Building a reusable QML module
- Building projects on the command line
- Imported targets
- Qt 5 and Qt 6 compatibility
- CMake Variable Reference
- CMake Property Reference
- CMake Command Reference
© 2023 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.