Skip to content

Make use of ecm_add_qml_module()

Gary Wang requested to merge garywang/kitemmodels:use-ecm-qml-module into master

Related: https://github.com/msys2/MINGW-packages/issues/13698

Currently the QML plugin will have a lib prefix under MinGW, which will results Qt apps couldn't load the QML plugin.

The CMake support provided by ECM can be used to resolve this issue and also takes care of a number of other things that related to QML module. This patch intended to make use of it to address the issue.

(ps. I'm not 100% sure if I did it correctly so please also review my patch carefully) (ps. plasma-framework seems also need to do the same or similar thing btw, I might work on that if this one can be merged)

Merge request reports

Loading