Using CMake and vcpkg in Qt application development
summary
Shows how to build a Qt Quick Controls 2 app mixing C++ and QML with CMake, produce static builds using Qt 5.14’s import mechanism, and pull a third‑party encryption library from vcpkg by installing a triplet and exposing its outputs to CMake. Describes writing a FindPackage wrapper for libraries that lack CMake config files, adding the vcpkg toolchain and triplet variables, and custom vcpkg triplets for iOS/Android so cross‑platform builds actually complete.
AI-written summary · about
chapters (7)
- 0:00Introduction and goals
- 1:42QMake to CMake conversion
- 3:07Achieving static builds
- 4:42Third-party libraries
- 7:24Integrating VCPKG with CMake
- 9:51Multi-platform deployment
- 14:02Conclusion and Q&A
related talks
01h 12mQt Quick for C++ Developers
19mEffective multi platform development with Qt, Creator, QBS, and QEMU
57mGetting Started with Embedded Qt Development
36mC++ Development with Visual Studio Code
01h 11mThe State of Package Management in C++
37mCross-Building Strategies in the Age of C++ Package Managers
01h 00mCollaborative C++ Development with Visual Studio Code
10mStay calm and stress-free by using a package manager: an overview of vcpkg
