问题:创建 Qt 插件。
方法:
1、QML 插件
(1)qmldir、plugin.dll、plugin.qml 位于同一目录,目录名和模块名相同。
(2)错误列表如下:
no dir、no qmldir:module "module" is not installed
no dll:module "module" plugin "plugin" not found
(3)如果主程序和库文件编译器不同,则程序退出崩溃。
2、其他插件
问题:创建 Qt 插件。
方法:
1、QML 插件
(1)qmldir、plugin.dll、plugin.qml 位于同一目录,目录名和模块名相同。
(2)错误列表如下:
no dir、no qmldir:module "module" is not installed
no dll:module "module" plugin "plugin" not found
(3)如果主程序和库文件编译器不同,则程序退出崩溃。
2、其他插件