Cross compiling Qt Applications with CMake
summary
Shows how to get one‑click deploy from QtCreator to an ARM device: cross‑build with a Yocto‑built Qt SDK and CMake (require >=3.14), stage files via the CMake toolchain file, and automate kit creation with configure-qtcreator.sh so QtCreator runs Ctrl+R to build, install into a temporary host install root, check free space, kill the running app and copy binaries with rsync to a Raspberry Pi running eglfs. Includes concrete CMake variables, generator choices, and a CI‑scriptable workflow.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 6:23Overview
- 8:56Prerequisites
- 13:09SSH Setup
- 18:40Setup Script
- 29:35CMake Configuration
- 32:52Build Settings
- 38:48Run Settings
- 40:50Run
- 41:58Demo
- 43:29QA
related talks
05mIntroducing Qt Creator: a fast IDE for C++ development
26mModern CMake for reusable, portable and testable embedded projects
54mCMake for the Impatient
21mBuilding Portable C++ Packages: The Curse of Abundance
31mThe secret to enhancing Qt for Python applications
01h 25mBuilding Modern Native Applications with Gradle
36mC++ Development with Visual Studio Code
33mBehind the Scenes of a C++ Build System
