[SOLVED] Qt Project for making plugin?
-
Hi!
I want to make a plugin, which will be dynamically loaded in my application. I have already created an interface, declared it and written code for plugin loading. Now I want to implement interface. So, what should I do now? Can I do it within my project, or should I create new project? If yes, what kind of project should I create? Qt Creator Plugin or C++ Library? -
Hi
do yo you mean a creator plugin like
http://doc.qt.io/qt-5/qtdesigner-customwidgetplugin-example.html
or more like a DLL/ shared library ? -
@mrjj Hi
I mean like this one
http://doc.qt.io/qt-5/qtwidgets-tools-plugandpaintplugins-basictools-example.html
but loaded dynamically, not static -
@Harb said:
@mrjj Hi
I mean like this one
http://doc.qt.io/qt-5/qtwidgets-tools-plugandpaintplugins-basictools-example.html
but loaded dynamically, not staticHere is the dynamic version: http://doc.qt.io/qt-5/qtwidgets-tools-plugandpaint-example.html
-
@JKSH
I just want to understand what kind of project should I create? I have already written code for plugin loading in my application, now I want to create plugin, and I don't know what project type should I choose in Qt Creator. -
Hi,
New File or Project -> Projects -> Library -> C++ Library
-
@SGaist That is answer, I was waiting for : ) Tnx!