Skip to content

4rtzel/cmake-qml-plugin-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake QML plugin example

QML plugin example written with CMake.

Description

There is a good tutorials and examples (1, 2, 3) how to write a QML module with qmake but there is not a lot of examples how to do it with CMake.

This project show how to create a basic CMake QML plugin that exports C++ class, QML file and js file to QML engine.

Project structure

Project consists of two CMake targets: