﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-yunshichen-随笔分类-C++/Qt4</title><link>http://www.cnitblog.com/yunshichen/category/8414.html</link><description>我相信人生是值得活的,尽管人在一生中必须遭受痛苦,卑劣,残酷,不幸和死亡的折磨,我依然深信如此.但我认为人生不一定要有意义,只是对一些人而言,他们可以使人生有意义.  ---J 赫胥黎</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 14:16:28 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 14:16:28 GMT</pubDate><ttl>60</ttl><item><title>用Eclipse开发QT4的C++程序</title><link>http://www.cnitblog.com/yunshichen/archive/2009/08/06/qt4_linux_development_eclipse_c_plus_plus.html</link><dc:creator>Chenyunshi</dc:creator><author>Chenyunshi</author><pubDate>Thu, 06 Aug 2009 09:19:00 GMT</pubDate><guid>http://www.cnitblog.com/yunshichen/archive/2009/08/06/qt4_linux_development_eclipse_c_plus_plus.html</guid><wfw:comment>http://www.cnitblog.com/yunshichen/comments/60595.html</wfw:comment><comments>http://www.cnitblog.com/yunshichen/archive/2009/08/06/qt4_linux_development_eclipse_c_plus_plus.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/yunshichen/comments/commentRss/60595.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/yunshichen/services/trackbacks/60595.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文用实例介绍了在Eclipse如何进行Qt开发.希望对大家有帮助.&nbsp;&nbsp;<a href='http://www.cnitblog.com/yunshichen/archive/2009/08/06/qt4_linux_development_eclipse_c_plus_plus.html'>阅读全文</a><img src ="http://www.cnitblog.com/yunshichen/aggbug/60595.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yunshichen/" target="_blank">Chenyunshi</a> 2009-08-06 17:19 <a href="http://www.cnitblog.com/yunshichen/archive/2009/08/06/qt4_linux_development_eclipse_c_plus_plus.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Qt4 Designer 起步走</title><link>http://www.cnitblog.com/yunshichen/archive/2008/11/20/qt4_linux_development.html</link><dc:creator>Chenyunshi</dc:creator><author>Chenyunshi</author><pubDate>Thu, 20 Nov 2008 08:51:00 GMT</pubDate><guid>http://www.cnitblog.com/yunshichen/archive/2008/11/20/qt4_linux_development.html</guid><wfw:comment>http://www.cnitblog.com/yunshichen/comments/51731.html</wfw:comment><comments>http://www.cnitblog.com/yunshichen/archive/2008/11/20/qt4_linux_development.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/yunshichen/comments/commentRss/51731.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/yunshichen/services/trackbacks/51731.html</trackback:ping><description><![CDATA[
		<br />
		<br />
		<h2>
		</h2>
		<h1>
				<font color="#0000ff">Qt简介和安装</font>
		</h1>
		<hr size="2" width="100%" />
		<h2>
		</h2>
		最近打算重拾gui编程.vb/vc 已经忘得快差不多了,用java太繁琐,python嘛... 想复习复习c++语法,于是想到用Qt Designer , 支持C++/JAVA/PYTHON ,就算换一种语言,gui的知识还可以迁移--要熟悉一个gui编程环境也不容易.我不想花了很多时间学gui,换种语言后又把这个gui知识扔了.<br /><br />Qt 的优点:<br />1.如上所述,支持多种语言.<br />2.跨平台.当然,用Java/Python能轻易写出跨平台代码,C++要注意别引入平台相关的库.<br />3.免费.<br />4.简单.和vb/delphi的难度差不多.<br />5.界面漂亮.<br /><br /><font color="#ff0000"></font><h2><font><font color="#006400">Qt安装</font></font><br /></h2>用ubuntu鼓捣东东是件挺快乐的事情.起码不用四处找软件,例如安装相关软件就很简单:<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);"></span><font face="courier ">sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-designer</font> ctags <br /><span style="color: rgb(0, 0, 0);"></span></div><br />如果本机还没有安装C++开发环境,那你还需要:<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);"> sudo apt-get install build-essential g++ gcc-</span><span style="color: rgb(0, 0, 0);">4.2</span><span style="color: rgb(0, 0, 0);">-doc<br /></span></div><br /><h2><font><font color="#006400">IDE-&gt;qdevelop</font></font></h2>你可以选择Qdevelop,和Qt绑定的一个小巧而强大的开发工具.<br /><br /><div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: rgb(0, 0, 0);"></span><font face="courier ">sudo apt-get install qdevelop</font><br /><span style="color: rgb(0, 0, 0);"></span></div><br /><h2><font><font><font><font color="#006400">IDE-&gt;Eclipse</font></font></font></font><br /></h2><br />当然,还可以选择Eclipse.安装Java,下载Eclipse CDT , 然后到这个网站下载Qt plugin : <a target="_blank" href="http://trolltech.com/developer/eclipse-integration">http://trolltech.com/developer/eclipse-integration</a> 并进行安装.<br /><br />以前是没有这个plugin的,嘿嘿,现在做程序就是幸福.<br /><br />打开Eclipse , 在"Window-&gt;Preference-&gt;qt" 里配置如下信息:<br /><ul><li>Name : Qt4</li><li>Bin Path : /usr/bin</li><li>Include Path : /usr/include/qt4</li></ul>这是Ubuntu8.04 默认安装的qt4路径.如果你的路径和此不同,请自行修改.<br /><br />然后,New一个Qt Project 看看效果,怀旧的同学们,这是不是让你想起曾经的Delphi?<br /><br /><img src="http://www.cnitblog.com/images/cnitblog_com/yunshichen/2008-11-21-095135_1439x899_scrot.png" alt="2008-11-21-095135_1439x899_scrot.png" border="0" width="1439" height="899" /><br /><br /><br /><hr size="2" width="100%" /><br /><font color="#ff0000">更新时间:2008-11-20</font><br /><br />
感谢<br /><br /><a target="_blank" href="http://bbs.chinaunix.net/thread-1217327-1-1.html">Ubuntu下配置Qt开发环境</a><br /><a target="_blank" href="http://wiki.qtcentre.org/index.php?title=How_to_use_Eclipse_with_Qt4_in_10_steps">How_to_use_Eclipse_with_Qt4</a><br /><img src ="http://www.cnitblog.com/yunshichen/aggbug/51731.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/yunshichen/" target="_blank">Chenyunshi</a> 2008-11-20 16:51 <a href="http://www.cnitblog.com/yunshichen/archive/2008/11/20/qt4_linux_development.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>