qt-cmake-project
OfficialModernize Qt 6 CMake projects, streamline development.
AuthorTheQtCompanyRnD
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps AI coding tools set up and evolve modern Qt 6 projects, ensuring compliance with Qt 6 CMake API standards and best practices.
Core Features & Use Cases
- Qt 6 CMake Project Setup: Bootstraps Qt 6 projects with correct top-level layouts, avoiding legacy qmake and qt5_* macros.
- CMakeLists.txt Editing: Provides guidelines for editing existing
CMakeLists.txtfiles, preserving style where appropriate and correcting common mistakes. - Resource Management: Offers guidance on organizing static resources like images, icons, fonts, and translations.
- Documentation Lookup: Provides instructions for querying Qt docs for command signatures and fallbacks to web documentation.
- Error Handling: Implements guardrails to ensure safety and prevent common mistakes in Qt CMake code generation.
- Use Case: Imagine you are developing a Qt 6 application. Use this Skill to configure your project with modern CMake practices and ensure that your code is compatible with the Qt 6 SDK.
Quick Start
Generate a CMakeLists.txt for a new Qt 6 project and configure the project to include a QML module named 'MyApp'.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: qt-cmake-project Download link: https://github.com/TheQtCompanyRnD/agent-skills/archive/main.zip#qt-cmake-project Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.