xmake icon indicating copy to clipboard operation
xmake copied to clipboard

Qt Quick 2 Extension Plugin project support

Open KochabStar opened this issue 6 months ago • 1 comments

你在什么场景下需要该功能?

I found the tests/projects/qt/quickplugin examples, but when I build a project using the Qt Quick plugin template, it's missing the qmldir file and doesn't generate the corresponding QQmlEngineExtensionPlugin class.

描述可能的解决方案

I want to create a rule for automatically generating QQmlEngineExtensionPlugin and qmldir files.

描述你认为的候选方案

No response

其他信息

No response

KochabStar avatar Aug 28 '25 01:08 KochabStar

try set_values("qt.qmlplugin.qmldirfile", "xxxx")?

https://github.com/xmake-io/xmake/blob/34e28c383b48d1c4c0df70a25500fa07ea70dc99/xmake/rules/qt/qmltyperegistrar/xmake.lua#L52

waruqi avatar Sep 06 '25 12:09 waruqi