This project is updated for Qt 6. Visit qt5 branch if you are looking for the Qt 5 template.
This is a minimal, but complete and production-ready CMake project template for Qt 6 projects. This may be a starting point for your new application. If that is not intent to be a cross-platform project, you can clean up that stuffs from the template.
- Handling all possible Qt stuffs (UI, resources,
translations) - macOS bundle
- Windows executable icon
If you want to deploy your application on macOS, I would recommend you read below documents.
If you want to deploy your application on Windows, I would recommend you read below documents.
- Building with CMake: https://doc.qt.io/qt-6/cmake-manual.html
- Qt and CMake: The Past, the Present and the Future: https://www.qt.io/blog/qt-and-cmake-the-past-the-present-and-the-future
- Using CMake with Qt 5: https://www.kdab.com/using-cmake-with-qt-5/