Qt5 - QtCreator doesn't load custom widget
-
Hi and welcome to devnet,
Does your plugin have any dependency ? Did you compile it using the same compiler as your Qt Creator version ?
-
Hi and thank you for your greeting,
I don't think my plugin has any dependency, actually I took the exemple from qt documentation : the worldclock example.
I tried with two Qt installs, the first one was "qt-opensource-windows-x86-1.6.0-5-online" - I don't know how it was compiled - and the second "one qt-opensource-windows-x86-mingw491_opengl-5.4.0" which I'm guessing is compiled using mingw. My plugin is compiled with mingw. I get the same message with both. -
Hi and thank you for your greeting,
I don't think my plugin has any dependency, actually I took the exemple from qt documentation : the worldclock example.
I tried with two Qt installs, the first one was "qt-opensource-windows-x86-1.6.0-5-online" - I don't know how it was compiled - and the second "one qt-opensource-windows-x86-mingw491_opengl-5.4.0" which I'm guessing is compiled using mingw. My plugin is compiled with mingw. I get the same message with both. -
Unless it changed recently, Qt Creator is built with VS2010 so you have two options:
Change your compiler
Build Qt Creator yourself
IIRC, you should also use the same Qt version that was used for Qt Creator (shown in the about box)
Since you are creating a custom plugin, you should consider option 2 so you'll have both matching Qt and compiler
-
Unless it changed recently, Qt Creator is built with VS2010 so you have two options:
Change your compiler
Build Qt Creator yourself
IIRC, you should also use the same Qt version that was used for Qt Creator (shown in the about box)
Since you are creating a custom plugin, you should consider option 2 so you'll have both matching Qt and compiler