Overview
Learn how to migrate existing qmake projects to CMake in this 30-minute conference talk from Qt World Summit 2022. Discover the qmake2cmake tool's capabilities and explore practical examples of converting specific qmake patterns to their CMake equivalents. Master essential concepts including CMake generators, platform-specific configurations, debug/release settings, and subdirectory management. Gain hands-on experience with a simple Qt application while learning about custom targets, CMake modules, and installation procedures. Understand how to effectively control installation destinations and leverage various install() capabilities to streamline your project migration process.
Syllabus
Intro
Agenda
Introduction
Automatic Conversion Aid
CMake Generators
A very simple Qt application
Usage requirements
Checking for the target platform
Checking for the host platform
Checking for debug/release
Subdirectories: Variables and Scopes
extra targets custom targets
CMake modules
Controlling installation destinations
Capabilities of install()
Taught by
Qt Group