Qt Creator cannot appears custom widgets
-
Re: Designer plugin only appears in standalone designer
Hi, all
I am using the latest Qt 5.13.0.
Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
Qt Designer(standalone): MSVC 2017, 32-bit
I create a simple custom widget, copy the *.lib and *.dll to the directory "C:\Qt\Qt5.13.0\5.13.0\msvc2017\plugins\designer"(dir1), the plugin appears successfully.
But when I copy the same *.lib and *.dll to "C:\Qt\Qt5.13.0\Tools\QtCreator\bin\plugins\designer"(dir2), the plugin cannot appears in the designer of Qt Creator.
I found two information in the Qt directory:- The designer plugin of Qt Creator is "Designer4.dll", I think it's different from the standalone Qt Designer.
- qaxwidget.dll and qquickwidget.dll, they are different between "dir1" and "dir2".
So I want to know how to make the custom widget appears in Qt Creator, and what's the compiler version of "Designer4.dll"?
Best regards!
-
@tovax said in Qt Creator cannot appears custom widgets:
I am using the latest Qt 5.13.0.
Qt Creator: Based on Qt 5.12.3 (MSVC 2017, 32 bit)
Qt Designer(standalone): MSVC 2017, 32-bitYou have to use same Qt version and same compiler as used by QtCreator/Designer for your custom widgets.
That means in your case you have to use Qt 5.12.3 and MSVC 2017, 32 bit