QTdesigner中并没有出现我自定义的控件

QT自定义控件整合

检举|2010-10-31 13:18 llllll420984  |  分类:C#/.NET  |  浏览2601次
我进QT选的Qt custom designer widget,然后建立了头文件,源文件,还有plugin文件等,最后编译也生成了.a和.dll文件,但是我将它们复制到\plugins\designer文件夹下,重新打开的QTdesigner中并没有出现我自定义的控件,到网上搜也搜不到,请高手帮我
                     ---------------------------不胜感激!!!!
果然如myyaoyulian所说,可以在那里看到这个插件失败:The plugin'  'uses incompatible Qt library.Expected build key"windows msve release full-config",got"windows mingw debug"
那么这个问题应该怎么解决呢??
我有更好的答案
提问者采纳
2010-11-02 11:53
复制到:qtsdk-2010.05/bin/designer 
进入Designer标签,tools -> Form Editor -> About QT Designer Plugin里是搜索到的控件,错误的控件有提示,比如Debug和Release选的不对。
--------------------------------------
你是在Windows里用QT
官方说:
The version of QT Creator shipped with the QT SDK Open Source version for windows is build using Visual Studio, whereas the SDK is build with and supports g++ (MinGW). This doesn’t cause too many problems, but it totally defeats building and installing QT Designer plugins into QT Creator. The error message is:

Expected build key “Windows msvc release full-config” got “Windows mingw release full-config”

It can be solved three different ways:

1) Build QT Creator from source with MinGW
2) Build the plugin with Visual Studio
3) Build QT Creator with build key checking turned off.
提问者评价
很感谢你的帮助
评论(3) | 3
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值