4rtzel / cmake-qml-plugin-example

QML plugin example written with CMake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

QML plugin example written with CMake


Languages

Language:C++ 42.4%Language:CMake 41.0%Language:QML 11.7%Language:JavaScript 4.8%