开发者

What are the weaknesses of the QPluginLoader approach?

开发者 https://www.devze.com 2022-12-20 19:02 出处:网络
Here the official Qt Creator code repository: git clone ht开发者_开发技巧tps://github.com/qtproject/qt-creator.git

Here the official Qt Creator code repository:

git clone ht开发者_开发技巧tps://github.com/qtproject/qt-creator.git

Qt Creator uses QPluginLoader.

What are the weaknesses of the QPluginLoader approach? What are the differences from QLibrary?


QtPluginloader cannot be used if your application is statically linked against Qt.

In this case, you will also have to link to plugins statically. You can use QLibrary if you need to load dynamic libraries in a statically linked application.

http://doc.trolltech.com/4.6/qpluginloader.html

Hope it helps. Best Regards

0

精彩评论

暂无评论...
验证码 换一张
取 消