Qt's custom plug-ins or controls do not recognize display

Self-defined controls or plug-ins, if the load fails, resulting in custom controls are not displayed. However, Qt Designer can be loaded in separate out.

How to check out the custom control is loaded?
Designer label entered, tools -> Form Editor -> About QT Designer Plugin in the search to control, error control has tips, such as Debug and Release option wrong.
Here Insert Picture Description
dll not find the specified module, that is to say dll file is not found,

Solution: put into debug dll directory .
dll 32-bit compiler qt 64bit environment with the development, operation will be error: % 1 is not a valid win32 application

Solution: recompiled dll 64-bit or 32-bit converter qt

Under Windows, if qt is a 32bit version:

Rc can not find the run will be reported

If the 32bit version of qt: error error lnk1158 report will not run rc.exe

The C: \ Program Files (x86) \ copy Windows Kits \ 10 \ rc.exe and rcdll.dll under bin \ 10.0.15063.0 \ x86 directory to

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

If qt is a 32bit version:

The C: \ Program Files (x86) \ copy Windows Kits \ 10 \ rc.exe and rcdll.dll under bin \ 10.0.15063.0 \ x86 directory to

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin

Guess you like

Origin blog.csdn.net/QIJINGBO123/article/details/88689274