[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
-
Hi!
I think "qpluginloader":http://qt-project.org/doc/qt-5.0/qtcore/qpluginloader.html
would be good choice.
Few more links:
"http://michael-stengel.com":http://michael-stengel.com/blog/?p=4
"http://www.informit.com":http://www.informit.com/articles/article.aspx?p=1405558&seqNum=2 -
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?
-
[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.
Thanks,
-
[quote author="qxoz" date="1371888428"]Hi!
Few more links:
"http://michael-stengel.com":http://michael-stengel.com/blog/?p=4
[/quote]-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?