QT中qtHaveModule(name)和load(name)和qmldir

版权声明:如果对您有帮助,求点赞!本文为博主原创作品,转载请声明出处! https://blog.csdn.net/u011086209/article/details/85247598

qtHaveModule(name)

检查按名称指定的Qt模块是否存在。有关可能值的列表

参考:http://doc.qt.io/qt-5/qtmodules.html

load(name)

加载指定模块

qmldir

配置模块属性,方便qml使用模块

参考:

http://doc.qt.io/qt-5/qqmlextensionplugin.html 

http://doc.qt.io/qt-5/qtqml-modules-qmldir.html

猜你喜欢

转载自blog.csdn.net/u011086209/article/details/85247598
今日推荐