Question

My setup is:

When I open Qt Creator and edit the UI then go to Tools->Form Editor->About Qt Designer Plugins I see "Cannot load library qwt_designer_plugin.dll:" but no error or reason.

enter image description here

Was it helpful?

Solution

I used Dependency Walker to check the Dll, and QtCreator.exe and all its dependencies are 32-bit whereas my build of qwt_designer_plugin.dll is 64-bit. I wondered if this was causing the problem so I:

This works fine and I can now see the plugin loaded correctly and add Qwt widgets in the UI designer.

OTHER TIPS

This worked for me:


Step 1

I check what MSVC version the QtCreator in my Qt framework version was built with. E.g. QtCreator that comes with Qt_5.6.2 MSVC2015 (qt-opensource-windows-x86-msvc2015-5.6.2.exe) was built with MSVC 2013 (qt-opensource-windows-x86-msvc2013-5.6.2.exe).

enter image description here


Step 2

I install qt-opensource-windows-x86-msvc2013-5.6.2.exe and build Qwt(plugin) with that Qt version.

For comparison here is what happens when Qwt is built with Qt_5.6.2 MSVC2013 and Qt_5.6.2 MSVC2015:

enter image description here


Also here:
https://stackoverflow.com/a/20156419/3096593


Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top