Details
-
User Story
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
None
Description
Extend the documentation with recipes for buildling common project types in CMake:
- create a shared library
- create a static library
- create and execute unit tests for both
- create a widgets application using the libraries
- create a qml application using the libraries
- create a console application
- create a qt qml extension plugin
Further topics that would be good to cover
- integrate resources into the binaries
- add translations
- distribute the artifacts
- make user-generated libraries work with find_package
- integrate Qt tests with CTest
- How to use cmake with yocto
Attachments
Issue Links
- relates to
-
QTBUG-95271 Document "qt-cmake" or add an example which folder in the Qt installation should be listed in CMAKE_PREFIX_PATH
- Closed
-
QTBUG-101330 Document distribution and deployment of a Qt non-QML CMake project
- Closed
-
QTBUG-101334 Document distribution and deployment of a Qt QML CMake project
- Closed
-
QTBUG-100852 How to guides for working with CMake / transitioning from QMake
- Open
-
QTBUG-88968 Example project for using CMake
- Withdrawn
-
QTBUG-96289 Research, improve and potentially unify Qt application deployment story around CPack
- Closed
- resulted from
-
QTBUG-72159 Improve Qt CMake Documentation
- Closed
- split to
-
QTBUG-100450 QML cmake API blogposts need to be converted into documentation pages
- Closed