Minimal CMake Template for Qt 5 Projects
As I've briefly introduced, this is a minimal, but complete and production-ready CMake project template for Qt 5 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.
If you want to deploy your application on macOS, I would recommend you read below document.
- Handling all possible Qt stuffs (UI, resources,
- macOS bundle
- Windows executable icon
- CMake manual: http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html
- Using CMake with Qt 5: http://www.kdab.com/using-cmake-with-qt-5/