Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]Qt Application Plugin based
I'm planning to build an application supports plugins (similar to FireFox, Qt Creator, Chromium.. etc). So I'm wondering, Does Qt pluging protocol may help me out or I've to build it from the scratch?
After hours of googling I summarized what I got and I wish from you to help me more
- "Article talks":http://blog.nuclex-games.com/tutorials/cxx/plugin-architecture/ about building C++ plugin based
- "Qtilities":http://jpnaude.github.io/Qtilities/ : library extends Qt abilities and supports plugin based architect but I'm not sure if I've to make all GUI use it or I can just use the part I need.
- "GCF":http://www.vcreatelogic.com/products/gcf : Old Qt4 library designed specially for Qt plugin based architect but it's commercial solution and doesn't support Qt5
qxoz last edited by
I think "qpluginloader":http://qt-project.org/doc/qt-5.0/qtcore/qpluginloader.html
would be good choice.
Few more links:
bq. I think qpluginloader
Hmm interesting thanks qxoz,
I read http://www.informit.com/articles/article.aspx?p=1405558&seqNum=2 before but I though it only works for Qt4 because I read that some Plugin related thins deprecated in Qt5, but it seems this is totally wrong!
Any way, I wonder does using Qtilities's plugin architecture will saving some time or using Qt's plugin architecture is better?
qxoz last edited by
I didn't try Qtilities but Qt's plugins are pretty easy to create
[quote author="qxoz" date="1371891002"]I didn't try Qtilities but Qt's plugins are pretty easy to create[/quote]
I "posted a question":https://groups.google.com/forum/#!topic/qtilities/cBdhhCIaKbc whether I've to use Qt or Qtilities for my plugin based application.
I encourage you continue discussing this issue because it isn’t over.
-I read the above post but when I failed to apply what it says because I think it misses some parts of code. So did you try to create a project for this article? Or do you've any tiny project works on same logic?-
-P.S. I tried to contact the blogger but he didn't publish his e-mail address on contact form.-
Ignore the above reply, I found a quick and "easy example written by Qt":https://qt-project.org/doc/qt-5.0/qtwidgets/tools-echoplugin.html now I just I've one question for people used "Qtilities":http://jpnaude.github.io/Qtilities/ :
Does using Qtilities’s plugin architecture will saving some time or using Qt’s plugin architecture is better?
After testing and reading about Qtilities I found very much complicated and not well arranged so I made my decision and I'll start with Qt plugins.
Thanks you guys,.