Unsolved Plugin loading failed
-
@jsulm Thank you, could please tell me more in details. I'm new with QT.
-
@nhatquang
Hi
For plugins to be be loadable for Creator, it must be compiled with visual studio compiler.
(on the windows platform. On linux is gcc)
Mingw compiler won't work. ( on windows )Look in Help->About Creator
So to make plugins for this creator, you must be using vs 2015 32 bit to compile plugin
and it should be in release mode. -
@Vinod-Kuntoji said in Plugin loading failed:
Have you provided the dll path in .pro file?
win32: LIBS += -L$$PWD/../../../../bin/ -ledDesigner
DEPENDPATH += $$PWD/../../../../bin/Thanks, i will try
-
@mrjj said in Plugin loading failed:
@nhatquang
Hi
For plugins to be be loadable for Creator, it must be compiled with visual studio compiler.
(on the windows platform. On linux is gcc)
Mingw compiler won't work. ( on windows )Look in Help->About Creator
So to make plugins for this creator, you must be using vs 2015 32 bit to compile plugin
and it should be in release mode.Thank you, but I'm using VS2017 without QT addin support. It mean, i can't build plugin?
-
@nhatquang
Hi. No there is 1 (one) exception. Vs 2017 should be compatible with VS2015
as far as i understand.
Should be 32 bit though.
Remember to check your Creator just to be sure. -
@mrjj said in Plugin loading failed:
@nhatquang
Hi. No there is 1 (one) exception. Vs 2017 should be compatible with VS2015
as far as i understand.
Should be 32 bit though.
Remember to check your Creator just to be sure.But QtCreator 4.3 built based on Qt 5.8, not 5.9. How can i solve?
-
@nhatquang
That should work anyway.Might not be correct.
Its the visual studio version that is important.
But vs2015 works as vs2017. ( for the first time ever)update:
Seems i was too optimisticBetter to use 5.8 then for compiling the plugin.
-
@nhatquang Install Qt 5.8 and use it for your plug-in. You can keep Qt 5.9 ass QtCreator can handle many Qt versions.
-
@jsulm
So the 5.8 -> 5.9 will be too much version span for plugin to load ? -
@mrjj I guess so. 5.8.0 -> 5.8.1 should be OK, but 5.8 -> 5.9 probably not.
-
I'm stuck ! I can't do successfully