Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/euler0/mini-cmake-qt
A minimal CMake template for Qt 5 & 6 projects
https://github.com/euler0/mini-cmake-qt
cmake qt qt5 qt6
Last synced: about 2 months ago
JSON representation
A minimal CMake template for Qt 5 & 6 projects
- Host: GitHub
- URL: https://github.com/euler0/mini-cmake-qt
- Owner: euler0
- License: unlicense
- Created: 2013-03-07T11:05:41.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T10:48:51.000Z (7 months ago)
- Last Synced: 2024-02-01T16:09:28.650Z (5 months ago)
- Topics: cmake, qt, qt5, qt6
- Language: CMake
- Homepage:
- Size: 225 KB
- Stars: 196
- Watchers: 11
- Forks: 34
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-cmake - mini-cmake-qt - Minimal CMake template for Qt 5 projects. [```[LICENSE]```](https://github.com/euler0/mini-cmake-qt/blob/master/LICENSE) (Examples / Templates)
README
# Minimal CMake Template for Qt 6 Projects
*This project is updated for Qt 6. Visit [qt5](https://github.com/euler0/mini-cmake-qt/tree/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.
## Features
* Handling all possible Qt stuffs (UI, resources, ~~translations~~)
* macOS bundle
* Windows executable icon## macOS Deployment
If you want to deploy your application on macOS, I would recommend you read below documents.
* [Qt for macOS](https://doc.qt.io/qt-6/macos.html)
* [Qt for macOS - Deployment](https://doc.qt.io/qt-6/macos-deployment.html)
* [Qt for macOS - Specific Issues](https://doc.qt.io/qt-6/macos-issues.html)## Windows Deployment
If you want to deploy your application on Windows, I would recommend you read below documents.
* [Qt for Winodws](https://doc.qt.io/qt-6/windows.html)
* [Qt for Windows - Deployment](https://doc.qt.io/qt-6/windows-deployment.html)
* [Qt for Windows - Specific Issues](https://doc.qt.io/qt-6/windows-issues.html)## References
* 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/