Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qwt plugin uses incompatible Qt Library 5.9.0
Which version is compatible with Qwt 6.1.3? I didn't add successfully to Qt creator design.
You can see the image below about this issue.
@Gokhan The one built with the same Qt version as your QtCreator. To see what was used to build QtCreator go to "Help/About QtCreator...".
@jsulm Although I didn't select the MSVC 2015, it shows that it based on Qt 5.9.1 (MSVC 2015, 32 bit). Can I change it or must change?
@Gokhan Plug-in for QtCreator must be built with same compiler and Qt version as QtCreator.
@jsulm I'm confused this, although there is no msvc folder in Qt, it's based on it. How can this be?
Because Qt Creator is independent of the Qt versions you may use with it thus it doesn't need to be built with the same version of Qt you are currently creating your application with.
@SGaist well why is the incompatible the qwt with it? I installed the qwt library with the same mingw version.
To use a plugin in Designer/Creator, the plugin must be compiled with the same compiler used to
compile Creator/Designer. Else it cannot load it.
So to use the QWT visually (Design mode), you must compile the QWT plugin with the
same compiler. In your case visual studio 2015, 32 bit.
I found this slightly confusing as I was using mingw. :)
Alternatively, you can also compile Creator with mingw and use that version.
(You cannot change it in Creator. the exe was made with that compiler)
If you go the visual studio route, then know this
Then you can have a visual studio toolchain in a few GBs and not 20 :)
Note, that you can still use Creator.
@mrjj thanks a lot. I will try this.
Just to be 100% sure u know.
You do not need the visual QWT plugin to use QWT.
Only if you want to add it visually in designer and set properties.
You can use promotion feature of Creator to use it without having the plugin
and set the properties from code.
@mrjj I did it :) thank you :)
It just worked in Qt5.9 with visual studio 2015 compiled plugin ?
@mrjj It's working on Qt5.9.1 and compiled msvc2015. First, I download the msvc2015 from the maintenance tool. Then I compiled with Qt 5.9.1 for Desktop(msvc2015) and installed it. After compiled, copied designer dll file to qtcreator designer plugin folder. Finally, I deleted msvc and returned the mingw :) Now it's working with mingw.