Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the weaknesses of the QPluginLoader approach?

Tags:

plugins

qt

Here the official Qt Creator code repository:

git clone https://github.com/qtproject/qt-creator.git

Qt Creator uses QPluginLoader.

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

like image 739
Massimo Fazzolari Avatar asked Feb 22 '10 22:02

Massimo Fazzolari


1 Answers

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

like image 59
Kyran Miles Avatar answered Oct 04 '22 03:10

Kyran Miles