Spec-Zone.ru › Qt

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
    • Build a C++ GUI executable
    • Further reading
  • Imported targets
  • Qt 5 and Qt 6 compatibility
    • Versionless targets
    • Versionless commands
    • Supporting older Qt 5 versions
    • Recommended practices
  • CMake Variable Reference
    • Module variables
    • Installation variables
    • Project variables
  • CMake Property Reference
    • Qt6::Core
  • CMake Command Reference
    • Qt6::Core
    • Qt6::DBus
    • Qt6::LinguistTools
    • Qt6::Qml
    • Qt6::RemoteObjects
    • Qt6::Scxml
    • Qt6::Widgets

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/cmake-manual.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API