这两天在学习制作自定义控件,使用提升法比较简章但是效果或者实用性不如插件法。在使用插件法时,遇到不少问题,几经周折,终于解决。总结如下。
我用的是Win7系统,基于Qt4.7.4版的Qt Creator2.3.0。
参考资料是:
C++ GUI Qt4 编程(第二版)
http://zhidao.baidu.com/question/194485353.html
http://www.cnblogs.com/gamer/archive/2010/11/26/1888430.html
http://hb.qq.com/a/20101217/001722.htm
----编写自定义控件
按照C++ GUI Qt4 编程(第二版) 中第五章的介绍,顺利完成了自定义控件Iconeditor的编译。然而在Qt Creator中的Designer界面,始终找不到该控件。后来在tools -> Form Editor -> About QT Designer Plugin中看到Expected build key “Windows msvc release full-config” got “Windows mingw release full-config”提示。在
在QtCreator中使用自定义控件及在vs2010中集成qt
最新推荐文章于 2024-04-19 17:53:14 发布