Template based on https://github.com/euler0/mini-cmake-qt for my own use. Qt5 brew install qt5
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 (such as OS X bundle) from the template.
If you want to deploy your application on OS X, I would recommend you have to read below document.
Deploying an Application on Mac OS X (The Mac Deployment Tool)
- Handling all possible Qt stuffs (UI, resources,
translations) - OS X 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/