<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Qt for S60开发环境全接触</title>
	<atom:link href="http://www.cuteqt.com/blog/?feed=rss2&#038;p=295" rel="self" type="application/rss+xml" />
	<link>http://www.cuteqt.com/blog/?p=295</link>
	<description>Qt技术分享博客</description>
	<lastBuildDate>Fri, 10 Sep 2010 14:20:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 手机壁纸</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-1229</link>
		<dc:creator>手机壁纸</dc:creator>
		<pubDate>Sat, 29 May 2010 12:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-1229</guid>
		<description>希望S60系统能够在众多系统中有所发展。</description>
		<content:encoded><![CDATA[<p>希望S60系统能够在众多系统中有所发展。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiroki</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-1080</link>
		<dc:creator>shiroki</dc:creator>
		<pubDate>Tue, 04 May 2010 08:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-1080</guid>
		<description>恩， 文章不错。 要不要转到我们blog来？</description>
		<content:encoded><![CDATA[<p>恩， 文章不错。 要不要转到我们blog来？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 李莘</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-1076</link>
		<dc:creator>李莘</dc:creator>
		<pubDate>Mon, 03 May 2010 13:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-1076</guid>
		<description>写了几篇QT for S60 Demo程序的分析文章。感觉QT for S60潜力不错，但还需努力。文章全文（包括Demo程序和源码的下载地址） 见我的博客：http://www.grati.org/?cat=8</description>
		<content:encoded><![CDATA[<p>写了几篇QT for S60 Demo程序的分析文章。感觉QT for S60潜力不错，但还需努力。文章全文（包括Demo程序和源码的下载地址） 见我的博客：http://www.grati.org/?cat=8</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _臭 虫_</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-366</link>
		<dc:creator>_臭 虫_</dc:creator>
		<pubDate>Sat, 14 Nov 2009 09:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-366</guid>
		<description>可能是你的Makefile没有更新的原因。
如果你在qtcreator下生成了Makefile，而进入N97环境后没有重新执行qmake(这个qmake对应的应该是n97 sdk下的qmake)的话，
那么Makefile里保留的执行环境还是qtcreator下的。自然无法编译成功

另:建议不要在blog下问题，不方便回答和更多人看到。请移步论坛www.cuteqt.com/bbs</description>
		<content:encoded><![CDATA[<p>可能是你的Makefile没有更新的原因。<br />
如果你在qtcreator下生成了Makefile，而进入N97环境后没有重新执行qmake(这个qmake对应的应该是n97 sdk下的qmake)的话，<br />
那么Makefile里保留的执行环境还是qtcreator下的。自然无法编译成功</p>
<p>另:建议不要在blog下问题，不方便回答和更多人看到。请移步论坛www.cuteqt.com/bbs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-365</link>
		<dc:creator>Henry</dc:creator>
		<pubDate>Fri, 13 Nov 2009 10:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-365</guid>
		<description>请教个问题，它自带的example里的程序，使用命令
make debug-gcce
可以编译成功，也可以打包成sisx

但是我自已写的qt程序在用命令编译时却出现以下错误（在qtcteator中可以编译成功和运行）
C:\s60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: *** No rule to make target &#039;debug-gcce&#039;. Stop.
求助前辈~</description>
		<content:encoded><![CDATA[<p>请教个问题，它自带的example里的程序，使用命令<br />
make debug-gcce<br />
可以编译成功，也可以打包成sisx</p>
<p>但是我自已写的qt程序在用命令编译时却出现以下错误（在qtcteator中可以编译成功和运行）<br />
C:\s60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\make.exe: *** No rule to make target &#8216;debug-gcce&#8217;. Stop.<br />
求助前辈~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: idance</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-367</link>
		<dc:creator>idance</dc:creator>
		<pubDate>Thu, 08 Oct 2009 00:26:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-367</guid>
		<description>源代码：
#include
#include

#include

#include &quot;server.h&quot;

Server::Server(QWidget *parent)
: QDialog(parent)
{
statusLabel = new QLabel;
quitButton = new QPushButton(tr(&quot;Quit&quot;));
quitButton-&gt;setAutoDefault(false);

//! [0] //! [1]
tcpServer = new QTcpServer(this);
if (!tcpServer-&gt;listen()) {
QMessageBox::critical(this, tr(&quot;Fortune Server&quot;),
tr(&quot;Unable to start the server: %1.&quot;)
.arg(tcpServer-&gt;errorString()));
close();
return;
}
//! [0]

statusLabel-&gt;setText(tr(&quot;The server is running on port %1.\n&quot;
&quot;Run the Fortune Client example now.&quot;)
.arg(tcpServer-&gt;serverPort()));
//! [1]

//! [2]
fortunes &lt;&lt; tr(&quot;You&#039;ve been leading a dog&#039;s life. Stay off the furniture.&quot;)
&lt;&lt; tr(&quot;You&#039;ve got to think about tomorrow.&quot;)
&lt;&lt; tr(&quot;You will be surprised by a loud noise.&quot;)
&lt;&lt; tr(&quot;You will feel hungry again in another hour.&quot;)
&lt;&lt; tr(&quot;You might have mail.&quot;)
&lt;&lt; tr(&quot;You cannot kill time without injuring eternity.&quot;)
&lt;addStretch(1);
buttonLayout-&gt;addWidget(quitButton);
buttonLayout-&gt;addStretch(1);

QVBoxLayout *mainLayout = new QVBoxLayout;
mainLayout-&gt;addWidget(statusLabel);
mainLayout-&gt;addLayout(buttonLayout);
setLayout(mainLayout);

setWindowTitle(tr(&quot;Fortune Server&quot;));
}

//! [4]
void Server::sendFortune()
{
//! [5]
QByteArray block;
QDataStream out(&amp;block, QIODevice::WriteOnly);
out.setVersion(QDataStream::Qt_4_0);
//! [4] //! [6]
out &lt;&lt; (quint16)0;
out &lt;seek(0);
out &lt;nextPendingConnection();
connect(clientConnection, SIGNAL(disconnected()),
clientConnection, SLOT(deleteLater()));
//! [7] //! [8]

clientConnection-&gt;write(block);
clientConnection-&gt;disconnectFromHost();
//! [5]
}</description>
		<content:encoded><![CDATA[<p>源代码：<br />
#include<br />
#include</p>
<p>#include</p>
<p>#include &#8220;server.h&#8221;</p>
<p>Server::Server(QWidget *parent)<br />
: QDialog(parent)<br />
{<br />
statusLabel = new QLabel;<br />
quitButton = new QPushButton(tr(&#8220;Quit&#8221;));<br />
quitButton-&gt;setAutoDefault(false);</p>
<p>//! [0] //! [1]<br />
tcpServer = new QTcpServer(this);<br />
if (!tcpServer-&gt;listen()) {<br />
QMessageBox::critical(this, tr(&#8220;Fortune Server&#8221;),<br />
tr(&#8220;Unable to start the server: %1.&#8221;)<br />
.arg(tcpServer-&gt;errorString()));<br />
close();<br />
return;<br />
}<br />
//! [0]</p>
<p>statusLabel-&gt;setText(tr(&#8220;The server is running on port %1.\n&#8221;<br />
&#8220;Run the Fortune Client example now.&#8221;)<br />
.arg(tcpServer-&gt;serverPort()));<br />
//! [1]</p>
<p>//! [2]<br />
fortunes &lt;&lt; tr(&#8220;You&#8217;ve been leading a dog&#8217;s life. Stay off the furniture.&#8221;)<br />
&lt;&lt; tr(&#8220;You&#8217;ve got to think about tomorrow.&#8221;)<br />
&lt;&lt; tr(&#8220;You will be surprised by a loud noise.&#8221;)<br />
&lt;&lt; tr(&#8220;You will feel hungry again in another hour.&#8221;)<br />
&lt;&lt; tr(&#8220;You might have mail.&#8221;)<br />
&lt;&lt; tr(&#8220;You cannot kill time without injuring eternity.&#8221;)<br />
&lt;addStretch(1);<br />
buttonLayout-&gt;addWidget(quitButton);<br />
buttonLayout-&gt;addStretch(1);</p>
<p>QVBoxLayout *mainLayout = new QVBoxLayout;<br />
mainLayout-&gt;addWidget(statusLabel);<br />
mainLayout-&gt;addLayout(buttonLayout);<br />
setLayout(mainLayout);</p>
<p>setWindowTitle(tr(&#8220;Fortune Server&#8221;));<br />
}</p>
<p>//! [4]<br />
void Server::sendFortune()<br />
{<br />
//! [5]<br />
QByteArray block;<br />
QDataStream out(&amp;block, QIODevice::WriteOnly);<br />
out.setVersion(QDataStream::Qt_4_0);<br />
//! [4] //! [6]<br />
out &lt;&lt; (quint16)0;<br />
out &lt;seek(0);<br />
out &lt;nextPendingConnection();<br />
connect(clientConnection, SIGNAL(disconnected()),<br />
clientConnection, SLOT(deleteLater()));<br />
//! [7] //! [8]</p>
<p>clientConnection-&gt;write(block);<br />
clientConnection-&gt;disconnectFromHost();<br />
//! [5]<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: idance</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-368</link>
		<dc:creator>idance</dc:creator>
		<pubDate>Thu, 08 Oct 2009 00:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-368</guid>
		<description>非常感谢
刚刚学习symbian下的QT，
自带的例子已经可以正常工作了.
但碰到了一个问题
想用Qtcpserver来做一个symbian qt 的服务器
用的是一个现成的例子，来自官网的qt-sdk-win-opensource-2009.01.exe，客户端运行一切正常
服务器端编译运行后，可以接受来自客户端的请求，从抓包上看，可以看到三次握手已经成功，客户端发送的消息，服务器也收到了，并自动回送了ACK。但服务器一直没有检测到，所谓没检测到，就是一直没有调用incomingconnection,以及newConnection这个信号没有触发，我是加log写到文件里进行调试的，设了断点，也没有进入
感觉是环境的问题，因为毕竟三次握手已经成功了.
不知失败在哪？：（</description>
		<content:encoded><![CDATA[<p>非常感谢<br />
刚刚学习symbian下的QT，<br />
自带的例子已经可以正常工作了.<br />
但碰到了一个问题<br />
想用Qtcpserver来做一个symbian qt 的服务器<br />
用的是一个现成的例子，来自官网的qt-sdk-win-opensource-2009.01.exe，客户端运行一切正常<br />
服务器端编译运行后，可以接受来自客户端的请求，从抓包上看，可以看到三次握手已经成功，客户端发送的消息，服务器也收到了，并自动回送了ACK。但服务器一直没有检测到，所谓没检测到，就是一直没有调用incomingconnection,以及newConnection这个信号没有触发，我是加log写到文件里进行调试的，设了断点，也没有进入<br />
感觉是环境的问题，因为毕竟三次握手已经成功了.<br />
不知失败在哪？：（</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rosen jiang</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-369</link>
		<dc:creator>rosen jiang</dc:creator>
		<pubDate>Thu, 20 Aug 2009 13:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-369</guid>
		<description>我现在很郁闷的是,如果真正要发布给客户,岂不是客户要先装一堆sis(x)?
左右为难啊</description>
		<content:encoded><![CDATA[<p>我现在很郁闷的是,如果真正要发布给客户,岂不是客户要先装一堆sis(x)?<br />
左右为难啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiroki</title>
		<link>http://www.cuteqt.com/blog/?p=295#comment-372</link>
		<dc:creator>shiroki</dc:creator>
		<pubDate>Thu, 02 Jul 2009 07:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-372</guid>
		<description>我记得用过一个高点的版本， 结果出错了， 换了这个版本就好了。 你的这个版本就不清楚咯， 如果没发现问题大概就可以用吧。</description>
		<content:encoded><![CDATA[<p>我记得用过一个高点的版本， 结果出错了， 换了这个版本就好了。 你的这个版本就不清楚咯， 如果没发现问题大概就可以用吧。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sikylori</title>
		<link>http://www.cuteqt.com/blog/?p=295&#038;cpage=1#comment-371</link>
		<dc:creator>sikylori</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.cuteqt.com/blog/?p=295#comment-371</guid>
		<description>非常感谢,正在学习QT for S60的,
&quot;Perl要求必须是5.6.1版本， 高低都不行&quot;这个是一定要的吗,我装的是ActivePerl-5.8.8.822-MSWin32-x86-280952,模拟器内运行一切正常,还没有试过真机运行的,公司不提供,自己买不起,- -!@</description>
		<content:encoded><![CDATA[<p>非常感谢,正在学习QT for S60的,<br />
&#8220;Perl要求必须是5.6.1版本， 高低都不行&#8221;这个是一定要的吗,我装的是ActivePerl-5.8.8.822-MSWin32-x86-280952,模拟器内运行一切正常,还没有试过真机运行的,公司不提供,自己买不起,- -!@</p>
]]></content:encoded>
	</item>
</channel>
</rss>
