﻿<?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>C++博客-flyonok-随笔分类-symbian</title><link>http://www.cppblog.com/flyonok/category/13362.html</link><description /><language>zh-cn</language><lastBuildDate>Fri, 14 May 2010 06:22:22 GMT</lastBuildDate><pubDate>Fri, 14 May 2010 06:22:22 GMT</pubDate><ttl>60</ttl><item><title>转载 symbian os 编程入门</title><link>http://www.cppblog.com/flyonok/archive/2010/04/03/111547.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Sat, 03 Apr 2010 15:53:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/04/03/111547.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/111547.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/04/03/111547.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/111547.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/111547.html</trackback:ping><description><![CDATA[<div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;"></span><span style="color: #000000;"></span><br>  </div>
<br>
<h1 class="firstHeading">中文 SymbianOS编程入门</h1>
<div id="bodyContent">
<h3 id="siteSub">From Forum
Nokia Wiki</h3>
<div id="contentSub">(Redirected
from <a href="http://wiki.forum.nokia.com/index.php?title=SymbianOS%E7%BC%96%E7%A8%8B%E5%85%A5%E9%97%A8&amp;redirect=no" title="SymbianOS编程入门">SymbianOS编程入门</a>)</div>
<!-- ============= -->
<!-- = body text =" --">
<!-- ============= -->
<p>English version of this
article here <a href="http://wiki.forum.nokia.com/index.php/How_do_I_start_programming_for_Symbian_OS%3F" title="How do I start programming for Symbian OS?">How do I start
programming for Symbian OS?</a>
</p>
<p>译者注：本文翻译自Forum Nokia wiki中的最热条目<a href="http://wiki.forum.nokia.com/index.php/How_do_I_start_programming_for_Symbian_OS%3F" title="How do I start programming for Symbian OS?">How do I start
programming for Symbian OS?</a>。
</p>
<hr>
<a name="2:_.E9.98.85.E8.AF.BB.E8.AF.BA.E5.9F.BA.E4.BA.9A.E8.AE.BA.E5.9D.9B.E7.9A.84.E6.89.8B.E6.9C.BA.E6.8A.80.E6.9C.AF.E8.A7.84.E8.8C.83.E9.A1.B5.E9.9D.A2.E3.80.82_.E8.AE.BE.E5.A4.87.E8.A7.84.E8.8C.83" id="2:_.E9.98.85.E8.AF.BB.E8.AF.BA.E5.9F.BA.E4.BA.9A.E8.AE.BA.E5.9D.9B.E7.9A.84.E6.89.8B.E6.9C.BA.E6.8A.80.E6.9C.AF.E8.A7.84.E8.8C.83.E9.A1.B5.E9.9D.A2.E3.80.82_.E8.AE.BE.E5.A4.87.E8.A7.84.E8.8C.83"></a>
<h4>
<span class="mw-headline">1: 你是否有一部Symbian手机来测试你开发的程序?</span></h4>
<dl><dd>如果没有&#8230;&#8230;没关系，你可以跳转到第三步，然后选择一个开发包（SDK），比如最新的一个。请留意，越新的SDK，会拥有越新越高级的功
能，能给你带来更多的方便；而相关的文档和信息，也会是在新版本的SDK中被完善，可以给你带来解决问题的更好途径。
</dd></dl>
<p><br>
</p>
<hr>
<a name="2:_.E9.98.85.E8.AF.BB.E8.AF.BA.E5.9F.BA.E4.BA.9A.E8.AE.BA.E5.9D.9B.E7.9A.84.E6.89.8B.E6.9C.BA.E6.8A.80.E6.9C.AF.E8.A7.84.E8.8C.83.E9.A1.B5.E9.9D.A2.E3.80.82_.E8.AE.BE.E5.A4.87.E8.A7.84.E8.8C.83" id="2:_.E9.98.85.E8.AF.BB.E8.AF.BA.E5.9F.BA.E4.BA.9A.E8.AE.BA.E5.9D.9B.E7.9A.84.E6.89.8B.E6.9C.BA.E6.8A.80.E6.9C.AF.E8.A7.84.E8.8C.83.E9.A1.B5.E9.9D.A2.E3.80.82_.E8.AE.BE.E5.A4.87.E8.A7.84.E8.8C.83"></a>
<h4>
<span class="mw-headline">2: 阅读诺基亚论坛的手机技术规范页面。 <a href="http://www.forum.nokia.com/devices/matrix_all_1.html" class="external text" title="http://www.forum.nokia.com/devices/matrix_all_1.html" rel="nofollow">设备规范</a></span></h4>
<dl><dd>
<ul>
    <li>如果文档所述某个型号的手机为"Developer Platform: S60 3rd
    Edition"（S60第三版） ，那么意味着我们需要使用这个SDK：S60 3rd SDK MR (一个S60 3rd SDK的升级维护版)。
    </li>
    <li>如果文档所述某个型号的手机为"Developer Platform: S60 3rd Edition, Feature
    Pack 1" ，那么意味着我们需要使用这个SDK：S60 3rd SDK FP1.
    </li>
    <li>如果你有两部手机，一部是"S60 3rd Edition"而另外一部是"S60 3rd Edition, Feature
    Pack 1"，那么我们建议你使用这个SDK：S60 3rd SDK
    MR，因为这个SDK编译的程序可以同时运行在两部手机，而使用高级版本的SDK编译的程序将有可能不能运行在低版本的手机上。(更多参见兼容性文档
    --&gt; <a href="http://wiki.forum.nokia.com/index.php/Backward_compatibility" title="Backward compatibility">backward compatibility</a>).
    </li>
    <li>如果你的两部手机中其一为"S60 2nd Edition, Feature Pack X"而另一部为"S60 3rd
    Edition, Feature Pack
    X"，那样的话，你需要准备一个大一点的磁盘分区，因为你无法安装一个版本的SDK就编译出来两部手机都能运行得程序。
    在第二版到第三版的演进过程中，出现了二进制运行文件和源代码的不兼容的情况。
    </li>
</ul>
</dd></dl>
<dl><dd>关于S60平台的更多细节，目前版本号和不同版本之间的差别，请参阅<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/571b3f5a-a71a-46d7-958e-79c8081b95c7/S60_2nd_3rd_Ed_Differences_in_Features_v1_5_en.pdf.html" class="external text" title="http://www.forum.nokia.com/info/sw.nokia.com/id/571b3f5a-a71a-46d7-958e-79c8081b95c7/S60_2nd_3rd_Ed_Differences_in_Features_v1_5_en.pdf.html" rel="nofollow">这里</a>
</dd></dl>
<p><br>
</p>
<hr>
<a name="3:_.E6.89.93.E5.BC.80SDK.E7.9A.84.E4.B8.8B.E8.BD.BD.E9.A1.B5.E9.9D.A2" id="3:_.E6.89.93.E5.BC.80SDK.E7.9A.84.E4.B8.8B.E8.BD.BD.E9.A1.B5.E9.9D.A2"></a>
<h4>
<span class="mw-headline">3: 打开SDK的<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html" class="external text" title="http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html" rel="nofollow">下载页面</a></span></h4>
<dl><dd>...别着急，第一步不是下载SDK！
</dd><dd>请转到发布说明（"Release
notes"）部分，下载并仔细阅读你所选择的SDK所对应的发布说明，检查再三。请注意某个SDK的工具可能会有多个发布版本，每一个版本的差别和具体
细节都在发布说明中进行了详细阐述，请在下载和作决定之前仔细阅读。
</dd><dd>从&#8220;发布说明&#8221;文档，你会了解到:
<dl><dd>
<ul>
    <li>你需要安装哪些第三方工具软件，比如<a href="http://wiki.forum.nokia.com/index.php/ActivePerl" title="ActivePerl">ActivePerl</a>以及Java运行库环境/JRE（Java Runtime
    Environment） (<a href="http://wiki.forum.nokia.com/index.php/Java_Runtime_Environment" title="Java Runtime Environment">JRE</a>)。
    </li>
    <li>该SDK支持哪些编译器(某些是自由软件，某些是需要许可证的)
    </li>
    <li>该SDK支持哪些开发工具（IDE）(某些是自由软件，某些是需要许可证的)
    </li>
    <li>已知问题(比如：安装问题以及已知的bug或限制)
    </li>
</ul>
</dd></dl>
</dd><dd>当你了解到了你需要下载/使用哪一个SDK，这个时候你就可以打开你的Flashget了，别用讯雷...
</dd></dl>
<p><br>
</p>
<hr>
<a name="4:_.E4.B8.8B.E8.BD.BDSDK.EF.BC.8C.E5.B7.A5.E5.85.B7.EF.BC.8C.E5.92.8C.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83.E3.80.82" id="4:_.E4.B8.8B.E8.BD.BDSDK.EF.BC.8C.E5.B7.A5.E5.85.B7.EF.BC.8C.E5.92.8C.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83.E3.80.82"></a>
<h4>
<span class="mw-headline">4: 下载SDK，工具，和开发环境。</span></h4>
<dl><dd>安装开发工具包(请先安装基础工具（pre-requisites），然后是集成开发工具（IDE）最后才是SDK(们))。如果可能的
话，请把工具安装在他们各自的默认路径，除非你自信你能够解决安装在自定义路径的时候有可能出现的某些配置方面的小调整。
</dd></dl>
<dl><dd>请确保每一个基础工具都可以正常工作(比如，可以在命令行模式下，输入命令附带上参数"-version"进行检测)。下面是你所要运行
SDK的时候所需要的最低版本的基础工具：
</dd></dl>
<pre class="text" style="font-family: monospace;">C:\&gt;perl -version<br>&nbsp;<br>This is perl, v5.8.7 built for MSWin32-x86-multi-thread<br>(with 7 registered patches, see perl -V for more detail)<br>&nbsp;<br>Copyright 1987-2005, Larry Wall<br>&nbsp;<br>Binary build 813 [148120] provided by ActiveState http://www.ActiveState.com<br>ActiveState is a division of Sophos.<br>Built Jun  6 2005 13:36:37<br>&nbsp;<br>... snip ...</pre>
<pre class="text" style="font-family: monospace;">C:\&gt;java -version<br>java version "1.5.0_05"<br>Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)<br>Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)</pre>
<pre class="text" style="font-family: monospace;">C:\&gt;mwccsym2.exe -version<br>&nbsp;<br>Nokia Codewarrior C/C++ Compiler for Windows/x86.<br>Copyright (c) 2005, Nokia Corporation<br>All rights reserved.<br>Version 3.2.3 build 446 (Build 446)<br>Runtime Built: Aug 15 2005 08:07:54</pre>
<pre class="text" style="font-family: monospace;">C:\&gt;arm-none-symbianelf-gcc.exe -v<br>Reading specs from ... snip ...<br>Configured with: ... snip ...<br>Thread model: single<br>gcc version 3.4.3 (release) (CodeSourcery ARM Q1C 2005)</pre>
<pre class="text" style="font-family: monospace;">C:\&gt;armcc<br>ARM/Thumb C/C++ Compiler, RVCT2.2 [Build 503]<br>&nbsp;<br>Usage:         armcc [options] file1 file2 ... filen<br>Main options: ... snip ...</pre>
<hr>
<a name="5:_.E8.AF.B7.E4.BB.94.E7.BB.86.E9.98.85.E8.AF.BBSDK.E6.96.87.E6.A1.A3.EF.BC.88SDK_documentation.EF.BC.89.E7.9B.B4.E5.88.B0.E4.BD.A0.E5.BC.84.E6.B8.85.E4.BA.86.E4.B8.8B.E9.9D.A2.E7.9A.84.E5.87.A0.E4.B8.AA.E9.97.AE.E9.A2.98:" id="5:_.E8.AF.B7.E4.BB.94.E7.BB.86.E9.98.85.E8.AF.BBSDK.E6.96.87.E6.A1.A3.EF.BC.88SDK_documentation.EF.BC.89.E7.9B.B4.E5.88.B0.E4.BD.A0.E5.BC.84.E6.B8.85.E4.BA.86.E4.B8.8B.E9.9D.A2.E7.9A.84.E5.87.A0.E4.B8.AA.E9.97.AE.E9.A2.98:"></a>
<h4>
<span class="mw-headline">5: 请仔细阅读SDK文档（SDK
documentation）直到你弄清了下面的几个问题: </span></h4>
<dl><dd>
<ul>
    <li>Symbian OS是什么，和你以前做其他开发时候基于的别的操作系统有何不同
    </li>
    <li>为移动设备开发程序意味着什么(限制和机遇)
    </li>
    <li>操作系统的结构，主要组建的架构图
    </li>
    <li>编码规范
    </li>
    <li>系统错误/panics/leaves以及如何处理以及记录（log）他们
    </li>
    <li>SDK模拟器和真实收集的差别
    </li>
    <li>编译系统和编译工具，最重要的就是理解"devices"工具
    </li>
</ul>
</dd></dl>
<p><br>
（译者注：在我于2004年初写的Symbian/S60新手入门的五条金科玉律--<a href="http://wiki.forum.nokia.com/index.php?title=S60%E5%BC%80%E5%8F%91%E6%95%99%E7%A8%8B%E6%B1%87%E7%BC%96&amp;action=edit&amp;redlink=1" class="new" title="S60开发教程汇编 (page does not exist)">S60开发教程汇编</a>此处察看全文
--时候同样提到了这样一条问题，请记住，SDK Documentation就是我们开发者的圣经！！！）
</p>
<hr>
<a name="6:_.E7.AC.AC.E5.85.AD.E6.AD.A5.E4.BA.86.EF.BC.9F.E5.88.AB.E7.9D.80.E6.80.A5.EF.BC.8C.E8.BF.98.E6.97.A9.E5.91.A2.EF.BC.8C.E5.9B.9E.E5.8E.BB.E5.86.8D.E5.8E.BB.E6.A3.80.E6.9F.A5.E6.A3.80.E6.9F.A5.E7.AC.AC.E4.BA.94.E6.AD.A5.EF.BC.81.EF.BC.81.EF.BC.81" id="6:_.E7.AC.AC.E5.85.AD.E6.AD.A5.E4.BA.86.EF.BC.9F.E5.88.AB.E7.9D.80.E6.80.A5.EF.BC.8C.E8.BF.98.E6.97.A9.E5.91.A2.EF.BC.8C.E5.9B.9E.E5.8E.BB.E5.86.8D.E5.8E.BB.E6.A3.80.E6.9F.A5.E6.A3.80.E6.9F.A5.E7.AC.AC.E4.BA.94.E6.AD.A5.EF.BC.81.EF.BC.81.EF.BC.81"></a>
<h4>
<span class="mw-headline">6: 第六步了？别着急，还早呢，回去再去检查检查第五步！！！</span></h4>
<p><br>
</p>
<hr>
<a name="7:_.E4.BB.8EWindows.27.E5.BC.80.E5.A7.8B.E8.8F.9C.E5.8D.95.E6.89.93.E5.BC.80SDK.E6.A8.A1.E6.8B.9F.E5.99.A8" id="7:_.E4.BB.8EWindows.27.E5.BC.80.E5.A7.8B.E8.8F.9C.E5.8D.95.E6.89.93.E5.BC.80SDK.E6.A8.A1.E6.8B.9F.E5.99.A8"></a>
<h4>
<span class="mw-headline">7: 从Windows'开始菜单打开SDK模拟器</span></h4>
<dl><dd>现在可以玩儿玩儿了，学习模拟器上有何应用程序，如何切换彼此，在选项中隐藏了什么。几乎所有的事情都会在Documentation
Help中找到。
</dd></dl>
<p><br>
</p>
<hr>
<a name="8:_.E8.BF.9B.E8.A1.8C.E5.88.B0.E8.BF.99.E4.B8.80.E6.AD.A5.EF.BC.8C.E4.BD.A0.E5.B0.B1.E5.8F.AF.E4.BB.A5.E5.87.86.E5.A4.87.E7.BC.96.E8.AF.91.E4.B8.80.E4.B8.8B.E4.BD.A0.E8.87.AA.E5.B7.B1.E7.9A.84.E5.BA.94.E7.94.A8.E7.A8.8B.E5.BA.8F.E4.BA.86:" id="8:_.E8.BF.9B.E8.A1.8C.E5.88.B0.E8.BF.99.E4.B8.80.E6.AD.A5.EF.BC.8C.E4.BD.A0.E5.B0.B1.E5.8F.AF.E4.BB.A5.E5.87.86.E5.A4.87.E7.BC.96.E8.AF.91.E4.B8.80.E4.B8.8B.E4.BD.A0.E8.87.AA.E5.B7.B1.E7.9A.84.E5.BA.94.E7.94.A8.E7.A8.8B.E5.BA.8F.E4.BA.86:"></a>
<h4>
<span class="mw-headline">8: 进行到这一步，你就可以准备编译一下你自己的应用程序了:</span></h4>
<dl><dd>请打开Windows命令行解释器<a href="http://wiki.forum.nokia.com/index.php/%E4%B8%AD%E6%96%87_Cmd.exe" title="中文 Cmd.exe">Cmd.exe</a>（WIN+R，然后输入cmd，回车）。切换到这个目录%EPOCROOT%S60Ex
(SDK的Series60Ex目录).
<dl><dd>如果你不知道<a href="http://wiki.forum.nokia.com/index.php/EPOCROOT" title="EPOCROOT">EPOCROOT</a>是什么，那么请返回第五步.
</dd></dl>
</dd><dd>清进入某一个子目录，该目录中的每一个子目录都是一个范例程序(比如某一个HelloWorld*)。一旦你进入了某一个目录，你可以
再深一步进入他的group子目录。
</dd><dd>在命令提示符下，输入如下命令：
</dd></dl>
<pre class="text" style="font-family: monospace;">&#8230;\group&gt; bldmake bldfiles<br>&#8230;\group&gt; abld makefile all<br>&#8230;\group&gt; abld resource<br>&#8230;\group&gt; abld build winscw udeb<br>&#8230;\group&gt; epoc</pre>
<dl><dd>自不待言，如果你再输入上述命令的时候，上述命令在执行的时候，看到了任何错误信息，你必须停下来，检查错误上的描述是什么（肯定是英文
-_-，译者暂时无法枚举错误可能）。如果有可能请再检查SDK
Help，并找到是否有什么操作可以帮助解决错误出现的起因。如果你确认错误不会影响你的编译结果，你可以忽略它。如果所有命令都执行无误，那么最后一个
命令就是打开模拟器，你可以在模拟器上运行你的程序了。总之，进行到最后，我们的程序总算编译完成。
</dd></dl>
<pre class="text" style="font-family: monospace;">&#8230;\group&gt; abld build gcce urel<br>&#8230;\group&gt; makesis ..\sis\helloworld.pkg</pre>
<dl><dd>最后的两个命令，会编译出运行在真机设备上的程序，如果还有疑问，请转到第五步并找出你所下载的SDK所支持的真机编译版本，随后你就可
以用最后一个命令生成手机所可以识别的SIS安装文件了。对于S60第三版的手机，你可能还要对你的SIS文件进行签名。随后即可在你的手机上运行你的程
序了。
</dd></dl>
<p><br>
</p>
<hr>
<a name="9:_.E6.83.B3.E7.8E.B0.E5.9C.A8.E5.BC.80.E5.A7.8B.E5.BC.80.E5.8F.91.E4.BA.86.3F_.E9.B8.A1.E8.9B.8B.E7.94.BB.E5.A5.BD.E4.BA.86.E4.B9.88.E2.80.A6.E2.80.A6_:.29" id="9:_.E6.83.B3.E7.8E.B0.E5.9C.A8.E5.BC.80.E5.A7.8B.E5.BC.80.E5.8F.91.E4.BA.86.3F_.E9.B8.A1.E8.9B.8B.E7.94.BB.E5.A5.BD.E4.BA.86.E4.B9.88.E2.80.A6.E2.80.A6_:.29"></a>
<h4>
<span class="mw-headline">9: 想现在开始开发了? 鸡蛋画好了么&#8230;&#8230;&nbsp;:)</span></h4>
<dl><dd>首先，请确信，你已经完全理解了hello
world程序，或者其他任何一个范例程序。在文件浏览器中打开范例程序的目录，分析它的结构和内容，在进行任何深度探究之前，请确保你理解了例子中的每
一个文件中的每一行代码都是干什么的，为什么这么做。达芬奇还要画鸡蛋，请记住！
</dd></dl>
<p><br>
</p>
<hr>
<a name="10:_.E4.BB.8E.E7.8E.B0.E5.9C.A8.E5.BC.80.E5.A7.8B.EF.BC.8C.E4.BD.A0.E5.B0.B1.E9.9C.80.E8.A6.81.E4.B8.8B.E5.B1.B1.E5.8E.BB.E7.8B.AC.E8.87.AA.E9.97.AF.E5.A4.A9.E4.B8.8B.E4.BA.86..." id="10:_.E4.BB.8E.E7.8E.B0.E5.9C.A8.E5.BC.80.E5.A7.8B.EF.BC.8C.E4.BD.A0.E5.B0.B1.E9.9C.80.E8.A6.81.E4.B8.8B.E5.B1.B1.E5.8E.BB.E7.8B.AC.E8.87.AA.E9.97.AF.E5.A4.A9.E4.B8.8B.E4.BA.86..."></a>
<h4>
<span class="mw-headline">10: 从现在开始，你就需要下山去独自闯天下了...</span></h4>
<p>... 尽管如此，Symbian开发者社区仍然会在你身边，乐意提供任何力所能及的帮助组。
</p>
<dl><dd>如果你在阅读文档中，发现了问题，或者需要读到更多的文档，请访问 <a href="http://www.forum.nokia.com/" class="external text" title="http://www.forum.nokia.com" rel="nofollow">www.forum.nokia.com|诺基
亚论坛</a> 或者 <a href="http://www.symbian.com/" class="external text" title="http://www.symbian.com" rel="nofollow">www.symbian.com|Symbian官方网
站</a>
</dd><dd>在发出提问之前，请&#8230;&#8230;读啊&#8230;读啊&#8230;使劲读，不要漏掉下面的内容&#8230;&#8230;
</dd></dl>
<p><a href="http://discussion.forum.nokia.com/forum/showthread.php?t=43728" class="external text" title="http://discussion.forum.nokia.com/forum/showthread.php?t=43728" rel="nofollow">这里的帖子</a> 还有这里的
<a href="http://www.forum.nokia.com/document/Forum_Nokia_Technical_Library/contents/FNTL/fn_technical_library.htm" class="external text" title="http://www.forum.nokia.com/document/Forum_Nokia_Technical_Library/contents/FNTL/fn_technical_library.htm" rel="nofollow">技术文档库</a>.
</p>
<dl><dd>在论坛中发问，请使用<a href="http://discussion.forum.nokia.com/forum/showthread.php?t=98345" class="external text" title="http://discussion.forum.nokia.com/forum/showthread.php?t=98345" rel="nofollow">聪明的方法</a>。
</dd></dl>
<!--
newpp limit report
Preprocessor node count: 22/1000000
Post-expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Expensive parser function count: 0/100
-->
<!-- saved in parser cache with key wiki:pcache:idhash:408-0!1!0!!en!2!edit="0" and timestamp 20100409012014 -->
<div class="printfooter">
Retrieved from "<a href="http://wiki.forum.nokia.com/index.php/%E4%B8%AD%E6%96%87_SymbianOS%E7%BC%96%E7%A8%8B%E5%85%A5%E9%97%A8">http://wiki.forum.nokia.com/index.php/%E4%B8%AD%E6%96%87_SymbianOS%E7%BC%96%E7%A8%8B%E5%85%A5%E9%97%A8</a>"</div>
<!-- ================= -->
<!-- = end body text =" --">
<!-- ================= -->
</div>
<!-- Disable indexing -->
<!-- googleoff: index -->
<div class="piazzaContent
piazzaDiboHomeContent">
<!-- RELATED THREADS -->
<!-- END RELATED THREADS -->
</div>
<!-- ========================= -->
<!-- = related wiki articles =" --">
<!-- ========================= -->
<div class="piazzaContentMetadata">
<div class="piazzaContentMiddleLeft hasLeftNav">
<div class="piazzaContentMiddleRight">
<div class="piazzaContentTopLeft">
<div class="piazzaContentTopRight">
<div class="piazzaContentBottomLeft">
<div class="piazzaContentBottomRight">
<div class="fnStationary">
<h3>Related Wiki
Articles</h3>
<div id="wikiRelatedArticles">
<p class="piazzaSubContent">No related wiki articles found</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><img src ="http://www.cppblog.com/flyonok/aggbug/111547.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-04-03 23:53 <a href="http://www.cppblog.com/flyonok/archive/2010/04/03/111547.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Qt for symbian 环境搭建检查</title><link>http://www.cppblog.com/flyonok/archive/2010/04/03/111524.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Sat, 03 Apr 2010 12:45:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/04/03/111524.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/111524.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/04/03/111524.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/111524.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/111524.html</trackback:ping><description><![CDATA[1、检查perl版本<br>
<div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">perl&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">version</span></div>
<br>结果至少为<br>
<div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">This&nbsp;is&nbsp;perl,&nbsp;v5.</span><span style="color: #000000;">6.1</span><span style="color: #000000;">&nbsp;built&nbsp;</span><span style="color: #0000ff;">for</span><span style="color: #000000;">&nbsp;MSWin32</span><span style="color: #000000;">-</span><span style="color: #000000;">x86</span><span style="color: #000000;">-</span><span style="color: #000000;">multi</span><span style="color: #000000;">-</span><span style="color: #000000;">thread<br>&nbsp;(</span><span style="color: #0000ff;">with</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">1</span><span style="color: #000000;">&nbsp;registered&nbsp;patch,&nbsp;see&nbsp;perl&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">V&nbsp;</span><span style="color: #0000ff;">for</span><span style="color: #000000;">&nbsp;more&nbsp;detail)<br>&nbsp;Copyright&nbsp;</span><span style="color: #000000;">1987</span><span style="color: #000000;">-</span><span style="color: #000000;">2001</span><span style="color: #000000;">,&nbsp;Larry&nbsp;Wall<br>&nbsp;Binary&nbsp;build&nbsp;</span><span style="color: #000000;">638</span><span style="color: #000000;">&nbsp;provided&nbsp;by&nbsp;ActiveState&nbsp;Corp.&nbsp;http:</span><span style="color: #008000;">//</span><span style="color: #008000;">www.ActiveState.com</span><span style="color: #008000;"><br></span><span style="color: #000000;">&nbsp;ActiveState&nbsp;is&nbsp;a&nbsp;division&nbsp;of&nbsp;Sophos.<br>&nbsp;Built&nbsp;Apr&nbsp;</span><span style="color: #000000;">13</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">2004</span><span style="color: #000000;">&nbsp;</span><span style="color: #000000;">19</span><span style="color: #000000;">:</span><span style="color: #000000;">24</span><span style="color: #000000;">:</span><span style="color: #000000;">21</span><span style="color: #000000;"><br>&nbsp;[<img src="http://www.cppblog.com/Images/dot.gif">]</span></div>
或更高版本<br>2、检查java<br>
<div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">java&nbsp;</span><span style="color: #000000;">-</span><span style="color: #000000;">version</span></div>
结果至少为<br>
<div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="color: #000000;">java&nbsp;version&nbsp;</span><span style="color: #000000;">"</span><span style="color: #000000;">1.6.0_11</span><span style="color: #000000;">"</span><span style="color: #000000;"><br>Java(TM)&nbsp;SE&nbsp;Runtime&nbsp;Environment&nbsp;(build&nbsp;</span><span style="color: #000000;">1.6</span><span style="color: #000000;">.0_11</span><span style="color: #000000;">-</span><span style="color: #000000;">b03)<br>Java&nbsp;HotSpot(TM)&nbsp;Client&nbsp;VM&nbsp;(build&nbsp;</span><span style="color: #000000;">11.0</span><span style="color: #000000;">-</span><span style="color: #000000;">b16,&nbsp;mixed&nbsp;mode,&nbsp;sharing)</span></div>
或更高版本<br>3、编译器<br>编译工具和你的目标设备有关系，如果是模拟器就需要<strong>Nokia X86 Compiler，如果</strong>是设备就需要<strong>GCCE compiler</strong> and the <strong><a href="http://developer.symbian.org/wiki/index.php/How_do_I_test_that_my_development_environment_is_set_up_correctly%3F#RVCT" title="">ARM RVCT</a> compiler</strong>.<br>
<p>The Nokia X86 Compiler and a modified GCCE compiler are automatically
installed as part of the Symbian Foundation toolkits. You do not need
to do anything to use these compilers from the IDE. The RVCT compiler is
not part of the Kits and must be licensed and installed separately. See
below for instructions on testing.
</p>
<p>If you want to compile using the command prompt (without the help
of Carbide.c++), you need to set additional path and general
environment variables. You can do this using a batch file provided with
Carbide.c++. From the Windows <strong>start</strong> button, select: <strong>All
Programs | Symbian Foundation ADT/PDT vX.X | Carbide.c++ vX.X |
Configure Environment for WINSCW Command Line</strong>.
</p>
<p><br>
</p>
<a name="GCCE" id="GCCE"></a>
<h4> <span class="mw-headline"> Nokia CodeWarrior x86 Compiler (Emulator) </span></h4>
<p>The Nokia Compiler is automatically installed as part of the <a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Application_Development_Toolkit_.28ADT.29" title="What are the Kits?">ADT</a> and <a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Product_Development_Toolkit_.28PDT.29" title="What are the Kits?">PDT</a> kits.
</p>
<p>You can verify that the compiler is correctly set by typing the
following in any directory (note that you may need to open a fresh
command prompt (cmd.exe) to get the expected output from the following
command):
</p>
<pre class="dos" style="font-family: monospace;">C:\&gt;mwccsym2.exe -version</pre>
<p>The output should look something like this:
</p>
<pre class="dos" style="font-family: monospace;">Nokia Carbide C/C++ Compiler <a href="http://www.ss64.com/nt/for.html"><span style="color: #00b100; font-weight: bold;">for</span></a> Windows/x86.<br>Copyright <span style="color: #66cc66;">(</span>c<span style="color: #66cc66;">)</span> <span style="color: #cc66cc;">2009</span>, Nokia Corporation<br>All rights reserved.<br>Version 3.2.5 build <span style="color: #cc66cc;">478</span> <span style="color: #66cc66;">(</span>Build <span style="color: #cc66cc;">478</span><span style="color: #66cc66;">)</span><br>&nbsp;</pre>
<a name="GCCE" id="GCCE"></a>
<h4> <span class="mw-headline"> GCCE </span></h4>
<p>A modified GCC compiler (free, open-source C++ compiler) is installed
with the Symbian Foundation toolkits (<strong>Note:</strong> it is installed
during the installation of the S60 SDK).
Verify your installation by entering:
</p>
<pre>C:\&gt;arm-none-symbianelf-gcc.exe -v<br></pre>
<p>The output should contain the version information of the GCC compiler
(the configuration of the compiler is not relevant in this context and
has been shortened to "..."):
</p>
<pre class="dos" style="font-family: monospace;">&nbsp;<br>Reading specs from ...<br>Configured with: ...<br>Thread model: single<br>gcc version 3.4.3 <span style="color: #66cc66;">(</span>release<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">(</span>CodeSourcery ARM Q1C <span style="color: #cc66cc;">2005</span><span style="color: #66cc66;">)</span><br>&nbsp;</pre>
<a name="RVCT" id="RVCT"></a>
<h4> <span class="mw-headline"> RVCT </span></h4>
<p>The ARM RealView Compiler (RVCT) (<a href="http://www.arm.com/products/DevTools/RealViewDevSuite.html" class="external autonumber" title="http://www.arm.com/products/DevTools/RealViewDevSuite.html" rel="nofollow">[1]</a>) is primarily intended for manufacturers. It
produces highly optimised code resulting in smaller ROMs and hence a
reduced bill of materials cost. RVCT is licensed by ARM.
</p>
<p>RVCT 2.2 is the supported version for ARMv5 and ARMv6 instruction
sets. RVCT3.1 can be used for ARMv7.
You can verify the installation on your system by entering the following
on the command line:
</p>
<pre class="dos" style="font-family: monospace;">C:\&gt;armcc</pre>
<p>This should result in the following output (for RVCT2.2):
</p>
<pre class="dos" style="font-family: monospace;">ARM/Thumb C/C++ Compiler, RVCT2.2 <span style="color: #66cc66;">[</span>Build <span style="color: #cc66cc;">616</span><span style="color: #66cc66;">]</span><br> ...<br>&nbsp;</pre>
<h3> <span class="mw-headline"> IDE </span></h3>
<a name="Carbide.c.2B.2B" id="Carbide.c.2B.2B"></a>
<h4> <span class="mw-headline"> Carbide.c++ </span></h4>
<p>Carbide.c++ automatically detects certain errors with the
environment.
</p>
<p>Start Carbide.c++ from the Windows *start* menu. It firsts asks
you for a workspace directory. If the IDE is set up correctly the main
workspace displays within a few seconds.
</p>
<p>Carbide.c++ automatically detects when a new SDK has been
installed. You should restart Carbide whenever prompted to install new
SDKs and plugins.
</p>
<a name="Emulator" id="Emulator"></a>
<h3> <span class="mw-headline">
Emulator </span></h3>
<p>You can start the Symbian emulator in your preferred SDK by
selecting:
</p>
&lt;SDK-directory&gt;\epoc32\release\winscw\udeb\epoc.exe
<p>where the SDK-directory is the location of the \epoc32\ directory for
the Kit (also known as the EPOCROOT).
</p>
<p>Start-up might take a while, depending on the speed of your PC.
Remember that essentially you&#8217;re launching a full operating system which
is not a quick task. It speeds up significantly on consecutive launches
in the same session. Further performance gains can sometimes be
achieved by defragmenting the hard drive because the emulator start-up
process accesses many different files.
</p>
<p>Your firewall might display a warning when launching the
Emulator.  Make sure you do not block access to any ports or any means
of communication between Carbide.c++ and the Emulator (required for
debugging).
</p>
<a name="Software_Kits" id="Software_Kits"></a>
<h2> <span class="mw-headline"> Software Kits </span></h2>
<p>The Symbian Foundation Software Kits provide a development
environment, which may include Emulator, libraries, headers,
documentation and source code. You may have several software kits on
your desktop PC.  The <strong>devices.exe</strong> tool (<font color="red">link</font>&nbsp;&#187;
Symbian OS Tools And Utilities &nbsp;&#187; Kit management&nbsp;&#187; How to manage
development for multiple device types) allows developers to list all
kits ("devices"), specify which kit will be used by default by tools
like Carbide.c++, and to add additional kits. A full listing of the
devices.exe functionality can be obtained with:
</p>
devices -help
<p>If the devices executable is not found, you are missing path
variables that should have been set during installation of the ADT or
PDT toolkits. Your path should include an entry like this:
</p>
c:\Program Files\Common Files\Symbian\tools
<p>If you cannot resolve the problem by modifying the path you might
have to repeat the installation from an administrator account and be
sure that no other application or firewall prevents you changing system
settings.
</p>
<p><br>
</p>
<a name="SDK" id="SDK"></a>
<h3> <span class="mw-headline"> SDK </span></h3>
<p>The <a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Application_Development_SDK" title="What are the Kits?">SDK</a> automatically creates a new device
when it is installed and gives you the option to set it as the default
kit. Following installation you should check that the SDK is listed, and
that it is the default device. No other configuration is required.
</p>
<p>To get the list of all kits/devices open a DOS window and type:
</p>
C:\&gt;devices
<p>The output will be a list of all currently installed devices,
highlighting the one that will be used by default.
</p>
S60_5th_Edition_SDK_v1.0:com.nokia.s60 - default<br>S60_3rd_MR:com.nokia.s60<br>S60_3rd_FP1:com.nokia.s60
<p>If it is not the default, you can set it to be using:
</p>
devices -setdefault <span style="color: #33cc33;">@</span>S60_5th_Edition_SDK_v1.0:com.nokia.s60
<p>If your device is not listed, and does not appear in the Carbide IDE,
you may be able to add it manually as described and linked in the PDK
section which follows.
</p>
<a name="PDK" id="PDK"></a>
<h3> <span class="mw-headline"> PDK </span></h3>
<p>At time of writing the <a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Product_Development_Kit_.28PDK.29" title="What are the Kits?">Product Development Kit</a> is delivered as a
set of zip files which you "install" by unzipping into the location of
your choice; no "device entry" is created so the tools won't be able to
detect the presence of the new kit.
</p>
<p>Instructions on how to set the kit "device entry" are given in
the <a href="http://developer.symbian.org/wiki/index.php/Product_Development_Kit_Quick_Start#Create_a_.22device_entry.22_for_the_kit" title="Product Development Kit Quick Start">PDK QuickStart</a>.
Provided you have set the device entry correctly no other configuration
is required.
</p>
<p>You should see your desired kit (named according to your choice)
listed among the supported "devices". You can check that you have the
correct device location using the <strong>-info</strong> option, and you can set
this device as the default using the <tt>-setdefault</tt> option. E.g.:
</p>
&nbsp;<br>devices -info <span style="color: #33cc33;">@</span>myroot:com.symbian.techview<br>devices -setdefault <span style="color: #33cc33;">@</span>myroot:com.symbian.techview
<a name="iFSK" id="iFSK"></a>
<h3> <span class="mw-headline"> iFSK </span></h3>
<p>The interim Foundation Software Kits (iFSK) contain (only) the source
code for the Symbian platform that can be delivered under the SFL
license. The iFSK is overlaid over an existing PDK - it does not have
any specific or separate configuration.
</p>
<br> <img src ="http://www.cppblog.com/flyonok/aggbug/111524.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-04-03 20:45 <a href="http://www.cppblog.com/flyonok/archive/2010/04/03/111524.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转载 Qt quick start for symbian</title><link>http://www.cppblog.com/flyonok/archive/2010/04/03/111510.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Sat, 03 Apr 2010 11:03:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/04/03/111510.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/111510.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/04/03/111510.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/111510.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/111510.html</trackback:ping><description><![CDATA[<div id="_atssh" style="visibility: hidden; height: 1px; width: 1px; position: absolute; z-index: 100000; border: 2px solid #0099ff;"><iframe src="http://s7.addthis.com/static/r07/sh14.html#" style="height: 1px; width: 1px; position: absolute; z-index: 100000; border: 0pt none; left: 0pt; top: 0pt;" id="_atssh775"></iframe></div>
<!--googleoff: all-->
<div id="site_top">
<div id="global_links">
<div id="bookmark_share"><a class="addthis_button" href="https://www.addthis.com/bookmark.php">Bookmark &amp; share</a>
<script type="text/javascript">
var addthis_config =
{
   data_use_cookies: false,
   data_use_flash: false
};</script>
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js?pub=xa-4aa66a0a5f0b282c">
</script>
</div>
<div id="our_sites">
<ul id="sites1">
    <li><a id="our_sites_list" href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#">Our
    sites</a></li>
    <li>
    <ul id="our-sites-box">
        <li class="header">Symbian's other sites...</li>
        <li><a href="http://www.symbian.org/" target="_blank">Symbian.org</a></li>
        <li><a href="http://ideas.symbian.org/" target="_blank">Ideas</a></li>
        <li><a href="http://research.symbian.org/" target="_blank">Research</a></li>
        <li><a href="http://horizon.symbian.org/" target="_blank">Horizon</a></li>
        <li><a href="http://symbiansigned.com/" target="_blank">Signed</a></li>
        <li><a href="http://blog.symbian.org/" target="_blank">Blog</a></li>
        <li><a href="http://blogcn.symbian.org/" target="_blank">中文博客
        (Chinese blog)</a></li>
        <li><a href="http://www2.symbian.org/cn/" target="_blank">中文
        网站 (Chinese)</a></li>
        <li><a href="http://blogjp.symbian.org/" target="_blank">日本語ブ
        ログ (Japanese blog)</a></li>
        <li><a href="http://www2.symbian.org/jp/" target="_blank">日本
        語サイト (Japanese)</a></li>
        <li class="footer">&nbsp;</li>
    </ul>
    </li>
</ul>
</div>
<div id="international">
<ul>
    <li><a href="http://developer.symbian.org/">English</a></li>
    <li><a href="http://developer.symbian.org/jp/" title="日本語">日本語</a></li>
    <li class="last"><a id="china" href="http://developer.symbian.org/cn/" title="中文">中文</a></li>
</ul>
</div>
<div id="login_bar">
<div id="signed_out">
<form style="border: 1px dotted #ff0000;" name="frmLogin" id="frmLogin" action="https://developer.symbian.org/main/user_profile/login.php" method="post">
    <label for="username">Username</label>
    <div class="fieldHolder">
    <input name="username" id="username" class="textInput" type="text">
    </div>
    <label for="password">Password</label>
    <div class="fieldHolder">
    <input name="password" id="password" class="textInput" type="password">
    </div>
    [<input name="submit" id="submit" value="Log in" type="submit">]
    <a id="register" href="https://developer.symbian.org/main/user_profile/register.php">Register</a>
    <a id="forgot_password" href="https://developer.symbian.org/main/user_profile/forgot_password.php">Forgot
    password?</a>
</form>
<div class="clear">&nbsp;</div>
</div>
</div>
<!-- end login section -->
</div>
<div class="clear">&nbsp;</div>
</div>
<!-- end login section -->
<div id="container">
<div id="devnet_header"><a id="home" href="http://developer.symbian.org/">Symbian developer community</a>
<!--start of Search Form-->
<div id="searchForm" class="right">
<form style="border: 1px dotted #ff0000;" name="frmSearch" action="/search/search_results.php" method="get">
    <label for="txtSearch">Search</label>
    <div class="fieldHolder">
    <input name="txtSearch" id="txtSearch" class="textInput" value="Search" onfocus="if(this.value == this.defaultvalue) this.value =" type="text">
    <input id="SearchButton" src="http://developer.symbian.org/img/skin1009/search_button.png" style="width: 46px; height: 47px;" type="image">
    </div>
    <br class="clear">
</form>
</div>
</div>
<div id="portal_nav">
<ul id="dropmenu">
    <li id="m_item1"><a href="http://developer.symbian.org/main/source/index.php">Source</a>
    <ul style="display: none;">
        <li><a href="http://developer.symbian.org/main/source/technology_domains/index.php">Technology
        domains</a></li>
        <li><a href="http://developer.symbian.org/main/source/packages/index.php">Packages</a></li>
        <li><a href="http://developer.symbian.org/main/source/browse/index.php">Browse
        code</a></li>
        <li><a href="http://developer.symbian.org/bugs">Bug tracker</a></li>
        <li class="last"><a href="http://developer.symbian.org/wiki/index.php/Roadmap_for_the_Symbian_Platform">Roadmap</a></li>
    </ul>
    </li>
    <li id="m_item2"><a href="http://developer.symbian.org/main/tools_and_kits/index.php">Tools
    &amp; Kits</a>
    </li>
    <li class="active" id="m_item3"><a href="http://developer.symbian.org/main/documentation/index.php">Documentation</a>
    <ul style="display: none;">
        <li><a href="http://developer.symbian.org/main/documentation/carbide/index.php">Application
        reference</a></li>
        <li><a href="http://developer.symbian.org/main/documentation/reference/s%5E3/doc_source/">Product
        reference Symbian^3</a></li>
        <li><a href="http://developer.symbian.org/main/documentation/reference/s%5E2/doc_source/">Product
        reference Symbian^2</a></li>
        <li><a href="http://developer.symbian.org/wiki/">Wiki</a></li>
        <li class="last"><a href="http://developer.symbian.org/main/documentation/books/index.php">Books</a></li>
    </ul>
    </li>
    <li id="m_item4"><a href="http://developer.symbian.org/forum">Forums</a>
    </li>
    <li id="m_item5"><a href="http://developer.symbian.org/main/services/index.php">Services</a>
    <ul style="display: none;">
        <li><a href="http://horizon.symbian.org/">Symbian Horizon</a></li>
        <li><a href="http://developer.symbian.org/main/services/symbian_signed/index.php">Symbian
        Signed</a></li>
        <li><a href="http://developer.symbian.org/main/services/professional_services/index.php">Professional
        Services</a></li>
        <li><a href="http://developer.symbian.org/main/services/tech_support/index.php">Tech
        Support</a></li>
        <li class="last"><a href="http://developer.symbian.org/main/services/training/index.php">Training</a></li>
    </ul>
    </li>
    <li id="m_item6" class="last"><a href="http://developer.symbian.org/main/about/index.php">About</a>
    <ul style="display: none;">
        <li><a href="http://developer.symbian.org/main/about/going_open_source/index.php">Going
        Open Source</a></li>
        <li><a href="http://developer.symbian.org/main/about/councils/index.php">Councils</a></li>
        <li><a href="http://developer.symbian.org/main/about/events/index.php">Events</a></li>
        <li class="last"><a href="http://developer.symbian.org/main/about/get_involved/index.php">Get
        involved</a></li>
    </ul>
    </li>
</ul>
<div class="clear">&nbsp;</div>
</div>
<!--googleon: all-->
<div id="subheader">
<div class="left">
<div class="breadcrumbs"><a href="http://developer.symbian.org/">Home</a>
&gt; <a href="http://developer.symbian.org/wiki">Wiki</a>&gt; <a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start" title="Qt Quick Start">Qt Quick Start</a> &gt; zh-hans</div>
<a href="http://developer.symbian.org/wiki" class="wiki_headline"><img src="http://developer.symbian.org/wiki/skins/sfdn/wiki_headline.gif" alt="wiki"></a>
<script type="text/javascript">document.getElementById('m_item3').className='active';</script>
</div>
<div id="pageFunction" class="right">
<a href="javascript:print();" title="Print this page"><img src="http://developer.symbian.org/img/icon_print.gif" alt="Print" height="28" width="27"></a>
<a href="http://developer.symbian.org/main/emailfriend.php?url=http%3A%2F%2Fdeveloper.symbian.org%2Fwiki%2Findex.php%2FQt_Quick_Start%2Fzh-hans&amp;TB_iframe=true&amp;height=85%&amp;width=650" class="thickbox" title="Email a friend">
<img src="http://developer.symbian.org/img/icon_email.gif" alt="Email " height="28" width="27">
</a>
</div>
</div>
<div id="globalWrapper">
<div id="column-content">
<div id="left_column">
<div class="portlet" id="p-logo">
</div>
<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
<div class="generated-sidebar portlet" id="p-navigation">
<!--[if lte IE 6]><br style="height:25px;line-height:25px;display:block;clear:both;float:none;" /><![endif]-->
<h5>Navigation</h5>
<div class="pBody">
<ul>
    <li id="n-mainpage-description"><a href="http://developer.symbian.org/wiki/index.php/Main_Page">Main Page</a></li>
    <li id="n-recentchanges"><a href="http://developer.symbian.org/wiki/index.php/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent
    changes</a></li>
    <li id="n-help"><a href="http://developer.symbian.org/wiki/index.php/Help:Contents" title="The place to find out">Help</a></li>
    <li id="n-Glossary"><a href="http://developer.symbian.org/wiki/index.php/Glossary">Glossary</a></li>
</ul>
</div>
</div>
<div class="portlet" id="p-tb">
<h5>Toolbox</h5>
<div class="pBody">
<ul>
    <li id="t-whatlinkshere"><a href="http://developer.symbian.org/wiki/index.php/Special:WhatLinksHere/Qt_Quick_Start/zh-hans" title="List of all wiki pages that link here [j]" accesskey="j">What
    links here</a></li>
    <li id="t-recentchangeslinked"><a href="http://developer.symbian.org/wiki/index.php/Special:RecentChangesLinked/Qt_Quick_Start/zh-hans" title="Recent changes in pages linked from this page [k]" accesskey="k">Related
    changes</a></li>
    <li id="t-specialpages"><a href="http://developer.symbian.org/wiki/index.php/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
    <li id="t-pdfprint"><a href="http://developer.symbian.org/wiki/index.php?title=Special:Pdfprint&amp;page=Qt_Quick_Start/zh-hans">Export
    to PDF</a></li>
    <li id="t-print"><a href="http://developer.symbian.org/wiki/index.php?title=Qt_Quick_Start/zh-hans&amp;printable=yes" title="Printable version of this page [p]" accesskey="p">Printable
    version</a></li>
    <li id="t-permalink"><a href="http://developer.symbian.org/wiki/index.php?title=Qt_Quick_Start/zh-hans&amp;oldid=46817" title="Permanent link to this version of the page">Permanent link</a></li>
</ul>
</div>
</div>
<div id="p-lang" class="portlet">
<h5>In other languages</h5>
<div class="pBody">
<ul>
    <li class="interwiki-en"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start">English</a></li>
    <li class="interwiki-ja"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/ja">日本語</a></li>
    <li class="red"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/ko">한국어</a></li>
    <li class="interwiki-ru"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/ru">Русский</a></li>
    <li class="red"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/es">Espa&#241;ol</a></li>
</ul>
</div>
</div>
</div>
<!-- end of the left (by default at least) column -->
<div id="right_column">
<div id="column-one">
<div id="p-cactions" class="portlet">
<h5>Views</h5>
<div class="pBody">
<ul>
    <li id="ca-nstab-main" class="selected"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans" title="View the content page [alt-shift-c]" accesskey="c">Page</a></li>
    <li id="ca-viewsource"><a href="http://developer.symbian.org/wiki/index.php?title=Qt_Quick_Start/zh-hans&amp;action=edit" title="This page is protected.
    you can view its source [alt-shift-e]" accesskey="e">View source</a></li>
    <li id="ca-history"><a href="http://developer.symbian.org/wiki/index.php?title=Qt_Quick_Start/zh-hans&amp;action=history" title="Past versions of this page [alt-shift-h]" accesskey="h">History</a></li>
</ul>
</div>
</div>
</div>
<div id="content">
<a name=".E6.B5.81.E7.A8.8B.E6.A6.82.E8.BF.B0" id=".E6.B5.81.E7.A8.8B.E6.A6.82.E8.BF.B0"></a>
<h1 id="firstHeading" class="firstHeading">Qt Quick Start/zh-hans</h1>
<div id="bodyContent">
<h3 id="siteSub">From Symbian Developer Community</h3>
<!--
<div id="contentSub">&gt; <a href="/wiki/index.php/Qt_Quick_Start" title="Qt Quick Start">Qt Quick Start</a></div>
-->
<div id="jump-to-nav">Jump to: <a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#column-one">navigation</a>,
<a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#searchInput">search</a></div>
<!-- start content -->
<div class="seealsobox" style="float: right; border: 2px solid #0099ff; padding: 0px 0px 0px 3px; position: relative; background: none repeat scroll 0% 0% #ffffff; z-index: 10;">
<div style="float: right; border: 1px solid black; padding: 0px;" align="left">
<table border="0" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="60"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplateseealso.gif" class="image" title="Image:wikitemplateseealso.gif"><img alt="Image:wikitemplateseealso.gif" src="http://developer.symbian.org/wiki/images/f/f6/Wikitemplateseealso.gif" border="0" height="110" width="50"></a> </td>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="230"><strong>See also:</strong><br>
            <ul>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_in_a_Nutshell" title="Qt in a Nutshell">Qt简述</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Technical_Overview" title="Qt Technical Overview">Qt的技术概览</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Q%26As" title="Qt
                Q&amp;As">关于Qt的问与答</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Carbide.c%2B%2B_IDE_Quick_Start" title="Qt Carbide.c++ IDE Quick Start">Qt Carbide.c++ IDE的快速入门</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Creator_with_the_Symbian_Platform" title="Qt Creator with the Symbian Platform">Symbian平台的Qt Creator</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_for_the_Symbian_Platform_%28Product_Overview%29" title="Qt for the Symbian Platform (Product Overview)">针对Symbian平台的Qt（产
                品概览）</a>
                </li>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Using_Qt_and_Symbian_C%2B%2B_Together" title="Using Qt and Symbian C++ Together">结合使用Qt和Symbian C++</a>
                </li>
            </ul>
            <hr>
            <ul>
                <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#Troubleshooting" title="">疑难问题</a>
                </li>
                <li> <a href="http://pepper.troll.no/s60prereleases/" class="external text" title="http://pepper.troll.no/s60prereleases/" rel="nofollow">Qt的测试版本</a>
                </li>
                <li> <a href="http://qt.gitorious.org/qt/pages/Qt460KnownIssues" class="external text" title="http://qt.gitorious.org/qt/pages/Qt460KnownIssues" rel="nofollow">Qt
                的已知问题</a>
                </li>
                <li> <a href="http://qt.gitorious.org/qt/pages/SymbianFAQ" class="external text" title="http://qt.gitorious.org/qt/pages/SymbianFAQ" rel="nofollow">关于Qt的
                问与答</a>
                </li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
</div>
</div>
<p>如果您想创建针对Symbian平台的Qt<em>应用</em>，那么此快速入门将会非常有用。而这里将假定您使用的是自由的GCCE编译器，但不包
含重建Qt自身的信息。
</p>
<p>此教程会向您展示如何在装有Windows系统的电脑上安装设置<em>Qt for the Symbian platform
v4.6.1</em> 的开发环境，如何构建范例命令行应用和如何把Qt二进制文件和演示程序配置到Symbian移动终端上。
</p>
<p>阅读完此教程后，开发伙伴也需要阅读<a href="http://developer.symbian.org/wiki/index.php/Qt_Carbide.c%2B%2B_IDE_Quick_Start" title="Qt Carbide.c++ IDE Quick Start">Qt Carbide.c++ IDE Quick Start</a>（或
者<a href="http://developer.symbian.org/wiki/index.php/Qt_Creator_with_the_Symbian_Platform" title="Qt Creator with the Symbian Platform">Qt Creator with the
Symbian Platform</a>）来设置IDE。
</p>
<table id="toc" class="toc" summary="Contents">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;">
            <div id="toctitle">
            <h2>Contents</h2>
            [<a href="javascript:toggleToc()" class="internal" id="togglelink">hide</a>]</div>
            <ul>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E6.B5.81.E7.A8.8B.E6.A6.82.E8.BF.B0">1 流程概述</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#Symbian_C.2B.2B.E7.9A.84.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83">2 Symbian C++的开发环境</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E4.B8.BASymbian_C.2B.2B.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83.E5.AE.89.E8.A3.85.E8.A1.A5.E4.B8.81">3 为Symbian C++开发环境安装补丁</a>
                <ul>
                    <li class="toclevel-2"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#Open_C.E5.92.8COpen_C.2B.2B">3.1 Open C和Open C++</a></li>
                    <li class="toclevel-2"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#Carbide.E7.9A.84Windows.E7.B3.BB.E7.BB.9F.E7.BC.96.E8.AF.91.E5.99.A8">3.2 Carbide的Windows系统编译器</a></li>
                </ul>
                </li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#Qt.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83">4 Qt开发环境</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E9.85.8D.E7.BD.AE.E5.91.BD.E4.BB.A4.E8.A1.8C">5 配置命令行</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E6.9E.84.E5.BB.BA.E8.8C.83.E4.BE.8B.E5.BA.94.E7.94.A8">6 构建范例应用</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E6.8A.8AQt.E9.83.A8.E7.BD.B2.E5.88.B0.E7.BB.88.E7.AB.AF">7 把Qt部署到终端</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E7.96.91.E9.9A.BE.E9.97.AE.E9.A2.98">8 疑难问题</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E6.80.BB.E7.BB.93">9 总结</a></li>
                <li class="toclevel-1"><a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans#.E7.9B.B8.E5.85.B3.E4.BF.A1.E6.81.AF">10 相关信息</a></li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
<script type="text/javascript"> if (window.showTocToggle) { var tocShowText = "show"; var tocHideText = "hide"; showTocToggle(); } </script>
<a name=".E6.B5.81.E7.A8.8B.E6.A6.82.E8.BF.B0" id=".E6.B5.81.E7.A8.8B.E6.A6.82.E8.BF.B0"></a>
<h2>  流程概述</h2>
<p>针对Symbian平台上的Qt来安装设置使用Windows系统的开发伙伴环境有五部分：
</p>
<ol>
    <li> 安装设置Symbian C++开发环境
    </li>
    <li> 使用Qt所需的Open C/C++ v1.6和其它补丁来更新Symbian C++的开发环境
    </li>
    <li> 安装Qt，堆积成位于所选SDK的顶部的一层
    </li>
    <li> 针对Qt开发来配置命令行
    </li>
    <li> 把Qt的二进制文件和Open C/Open C++部署到终端上
    </li>
</ol>
<p><br>
</p>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatenote.gif" class="image" title="Wikitemplatenote.gif"><img alt="" src="http://developer.symbian.org/wiki/images/5/5d/Wikitemplatenote.gif" border="0" height="75" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Note</strong> <br>在
            撰写此文时，仅在Windows系统中才<em>支持</em>C++上的Symbian平台开发。
            <p>开发伙伴社区提供了一些解决方案，能让您在Linux和Mac OS X上开发Symbian。相关信息由如下链接提供：
            </p>
            <ul>
                <li> <a href="http://www.martin.st/symbian/" class="external text" title="http://www.martin.st/symbian/" rel="nofollow">www.martin.st/symbian/</a>
                （Symbian C++）
                </li>
                <li> <a href="http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/" class="external text" title="http://lizardo.wordpress.com/2010/01/21/installing-qt-for-symbian-sdk-4-6-1-on-linux/" rel="nofollow">Installing Qt for Symbian SDK 4.6.1 on Linux - Anderson
                Lizardo</a> （针对Qt的附加步骤）</li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
</div>
<p><br>
</p>
<a name="Symbian_C.2B.2B.E7.9A.84.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83" id="Symbian_C.2B.2B.E7.9A.84.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83"></a>
<h2>
Symbian C++的开发环境</h2>
<p>假如您的电脑满足标准<a href="http://developer.symbian.org/wiki/index.php/What_are_the_developer_environment_system_requirements%3F" title="What are the developer environment system requirements?">系统配置要求</a>，
针对Symbian平台的C++开发来安装设置使用Windows系统的PC就很简单，只需（依次）下载和安装下列文件即可：
</p>
<ul>
    <li> Perl。请参阅 <a href="http://developer.symbian.org/wiki/index.php/Kits_Q%26As#How_do_I_install_Perl_on_my_C.2B.2B_development_PC.3F" title="Kits Q&amp;As">Kits Q&amp;As</a> ，了解关于推荐版本的记录。
    </li>
    <li> <a href="http://developer.symbian.org/main/tools_and_kits/downloads/download.php?id=26&amp;cid=59&amp;iid=267" class="external text" title="http://developer.symbian.org/main/tools_and_kits/downloads/download.php?id=26&amp;cid=59&amp;iid=267" rel="nofollow">Application Developer Toolkit (ADT)</a> （包含 Carbide.c++
    IDE）
    </li>
    <li> <a href="http://developer.symbian.org/main/tools_and_kits/downloads/download.php?id=3&amp;cid=7&amp;iid=26" class="external text" title="http://developer.symbian.org/main/tools_and_kits/downloads/download.php?id=3&amp;cid=7&amp;iid=26" rel="nofollow">Symbian Platform SDK</a>或者<a href="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/" class="external text" title="http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Platforms/S60_Platform_SDKs/" rel="nofollow">S60 Platform SDK (3rd Edition FP1 or higher)</a>
    （所有的SDK都包含有GCCE编译器）
    </li>
</ul>
<p><br>
</p>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatenote.gif" class="image" title="Wikitemplatenote.gif"><img alt="" src="http://developer.symbian.org/wiki/images/5/5d/Wikitemplatenote.gif" border="0" height="75" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Note</strong> <br>Windows
            Vista用户注意：
            <ul>
                <li> 会有一些<a href="http://developer.symbian.org/wiki/index.php/Kits_Q%26As#Can_I_Use_the_Kits_on_Windows_Vista.3F" title="Kits Q&amp;As">兼容性问题</a>
                </li>
                <li> SDK安装程序会提示您从
                <tt>&lt;SDK&gt;\plugins\vistapatch\</tt> 中应用&#8220;GCCE
                patch for MS Vista&#8221;（默认情况下，&lt;SDK&gt;就是指
                <tt>C:\S60\devices\S60_5th_Edition_SDK_v1.0</tt>）。
                而在那个目录中的
                <tt>help.txt</tt>文件中会有相关的指导说明。
                </li>
                <li> 正常情况下，SDK将自动在下面的文件中注册：
                <tt>C:\Program Files\Common
                Files\Symbian\devices.xml</tt>。不过在Vista系统中，必须在
                <tt>%USERPROFILE%\AppData\Local\VirtualStore\Program
                Files\Common Files\Symbian\devices.xml</tt>中创建文件。然后手动把这个文件拷贝到正确的位置。</li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
</div>
<p><br>
</p>
<a name=".E4.B8.BASymbian_C.2B.2B.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83.E5.AE.89.E8.A3.85.E8.A1.A5.E4.B8.81" id=".E4.B8.BASymbian_C.2B.2B.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83.E5.AE.89.E8.A3.85.E8.A1.A5.E4.B8.81"></a>
<h2>
为Symbian C++开发环境安装补丁 </h2>
<a name="Open_C.E5.92.8COpen_C.2B.2B" id="Open_C.E5.92.8COpen_C.2B.2B"></a>
<h3>
Open C和Open C++ </h3>
<p>Qt依赖于<a href="http://developer.symbian.org/wiki/index.php/Open_C_and_Open_C%2B%2B" title="Open c and open c++" class="mw-redirect">Open C and Open C++</a>
的兼容层，1.6.0版本或者更高。在撰写此文时，还没有任何Symbian
C++的SDK（直到至少Symbian^1）包含有一个能兼容Qt的版本。因此，<strong>所有</strong>您想用于Qt开发的SDK都必须安装补丁：
</p>
<ol>
    <li> 下载最新的<a href="http://www.forum.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.html" class="external text" title="http://www.forum.nokia.com/info/sw.nokia.com/id/91d89929-fb8c-4d66-bea0-227e42df9053/Open_C_SDK_Plug-In.html" rel="nofollow">OpenC plugin SDK</a>
    </li>
    <li> 解压缩安装文件，然后运行包含的<strong>setup.exe</strong>
    </li>
    <li> 收到提示时，选择目标SDK来把插件安装到SDK中。对于每个SDK，重复步骤2和步骤3的指示即可。
    </li>
</ol>
<p>如果您正使用S60 3rd Edition FP1 SDK（最早能使Qt运行的版本），那么您同时需要重新安装
<tt>RPipe</tt>库。
这个库已由OpenC plugin SDK安装到S60_3rd_FP1_3 SDK的根目录：
<tt>\Symbian\9.2\S60_3rd_FP1_3\RPipe_3.1.zip</tt>：
</p>
<ol>
    <li> 解压缩<strong>RPipe_3.1.zip</strong>到SDK根目录下的
    <tt>\Epoc32\</tt> 目录树中（例如：
    <tt>\Symbian\9.2\S60_3rd_FP1_3\Epoc32\</tt>）。
    </li>
    <li> 下载<a href="http://pepper.troll.no/s60prereleases/patches/getexports.exe" class="external text" title="http://pepper.troll.no/s60prereleases/patches/getexports.exe" rel="nofollow">getexports.exe</a>，然后替换
    <tt>&lt;SDK&gt;\epoc32\tools\getexports.exe</tt>
    文件。
    </li>
</ol>
<p><br>
</p>
<a name="Carbide.E7.9A.84Windows.E7.B3.BB.E7.BB.9F.E7.BC.96.E8.AF.91.E5.99.A8" id="Carbide.E7.9A.84Windows.E7.B3.BB.E7.BB.9F.E7.BC.96.E8.AF.91.E5.99.A8"></a>
<h3>
Carbide的Windows系统编译器 </h3>
<p>如果您正使用的是Carbide.c++ in ADT
1.4版本，那么您就需要更新到一个比较新的Carbide.C++版本，或者应用下面的补丁。把文件提取到Carbide安装目录下的
<tt>\x86Build</tt>目
录中，例如
<tt>C:\Symbian\Tools\ADT_1.4\Carbide.c++\x86Build\</tt>
</p>
<ul>
    <li> <a href="http://pepper.troll.no/s60prereleases/patches/x86Tools_3.2.5_Symbian_b487.zip" class="external text" title="http://pepper.troll.no/s60prereleases/patches/x86Tools_3.2.5_Symbian_b487.zip" rel="nofollow">x86Tools_3.2.5_Symbian_b487.zip</a> ——Windows系统中的编译器的补丁
    </li>
</ul>
<p>如果您正使用的是任何其它版本的Carbide，那么您就能通过命令行来执行<strong>mwccsym2.exe</strong>
，用于检验编译器版本，如下所示。Carbide编译器必须至少是3.2.5, build 487版本，这样才能正确地构建Qt。
</p>
<pre class="dos" style="font-family: monospace;">C:\Symbian\Tools\ADT_1.4\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools\mwccsym2.exe</pre>
<p>新的编译器版本预计会是in ADT v1.5（和后续版本）。
</p>
<a name="Qt.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83" id="Qt.E5.BC.80.E5.8F.91.E7.8E.AF.E5.A2.83"></a>
<h2>  Qt开发环境</h2>
<p>下载并安装下面的<em>Qt for Open Source C++ development on Symbian</em>
安装程序文件。Qt必须与目标SDK安装在<em>同一驱动器</em>上，同时安装路径<em>不</em>能包含空格。收到提示时，指定the S60
5th Edition SDK (Symbian^1) 和任何其它您想和Qt共同使用的SDK。
</p>
<ul>
    <li> <a href="http://qt.nokia.com/downloads/symbian-cpp" class="external free" title="http://qt.nokia.com/downloads/symbian-cpp" rel="nofollow">http://qt.nokia.com/downloads/symbian-cpp</a>
    </li>
</ul>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatenote.gif" class="image" title="Wikitemplatenote.gif"><img alt="" src="http://developer.symbian.org/wiki/images/5/5d/Wikitemplatenote.gif" border="0" height="75" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Note</strong> <br>供
            下载的Qt安装程序是受LPGL许可的。如需使用商业许可（或其它许可），请参阅此页：<a href="http://qt.nokia.com/downloads" class="external free" title="http://qt.nokia.com/downloads" rel="nofollow">http://qt.nokia.com/downloads</a></td>
        </tr>
    </tbody>
</table>
</div>
<p><br>
</p>
<a name=".E9.85.8D.E7.BD.AE.E5.91.BD.E4.BB.A4.E8.A1.8C" id=".E9.85.8D.E7.BD.AE.E5.91.BD.E4.BB.A4.E8.A1.8C"></a>
<h2>  配置命令行 </h2>
<p>必须设置ADT环境才能使用命令行来构建Symbian平台的模拟器。使用Windows系统的<strong>开始</strong>按钮：
</p>
<ul>
    <li> <strong>所有程序 | Symbian Foundation ADT v1.4 | Carbide.c++ | Configure
    environment for WINSCW command line</strong>
    </li>
</ul>
<p>您可以选择设置下面的环境变量：
</p>
<pre>SYMBIANBUILD_DEPENDENCYOFF=1<br></pre>
<p><br>
</p>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatenote.gif" class="image" title="Wikitemplatenote.gif"><img alt="" src="http://developer.symbian.org/wiki/images/5/5d/Wikitemplatenote.gif" border="0" height="75" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Note</strong> <br>Qt
            安装程序提供了命令提示符，而此提示符已针对Qt开发用正确的路径进行了配置；如果您使用了命令提示符，那么就无需其它安装设置了。访问这个提示符需从
            Windows系统的<em>开始'</em>按钮开始：<strong>所有程序 | Qt for Symbian by Nokia v4.6.1 | Qt
            for Symbian Command Prompt</strong>
            <p>如果您想从<em>任意</em>命令提示符开始使用Qt，那么您就需要更新PATH环境变量来确定Qt工具的位置：qmake，moc等。
            </p>
            <ul>
                <li> 在Windows系统中定位到<strong>控制面板 | 系统 | 高级 | 环境变量</strong>。
                </li>
                <li> 选择<strong>Path</strong> 变量，然后把完整的路径插入Qt
                <tt>\bin</tt>目录（默认情况下，这个目录就是
                <tt>C:\Qt\4.6.1\bin;</tt>）。
                需注意的是，在<em>Windows Vista</em>系统中，您需要重启电脑，以便针对path的修改能够生效。</li>
            </ul>
            </td>
        </tr>
    </tbody>
</table>
</div>
<p><br>
</p>
<p><br>
</p>
<a name=".E6.9E.84.E5.BB.BA.E8.8C.83.E4.BE.8B.E5.BA.94.E7.94.A8" id=".E6.9E.84.E5.BB.BA.E8.8C.83.E4.BE.8B.E5.BA.94.E7.94.A8"></a>
<h2>  构建范例应用 </h2>
<p>要打开命令提示符，从Windows系统中的<strong>开始</strong>按钮开始：<strong>所有程序 | Qt for Symbian by Nokia
v4.6.1 | Qt for Symbian Command Prompt</strong>，并且<em>定位到目标工程</em>。针对这个范例，我们将构建
随Qt的安装而生成的<em>animatedtiles</em>范例代码：
<tt>C:\Qt\4.6.1
examples\animation\animatedtiles\</tt>。
</p>
<p>运行<em>qmake</em>来生成Symbian特有的
<tt>bld.inf</tt>和
<tt>.mmp</tt>文件：
</p>
<pre class="dos" style="font-family: monospace;">qmake</pre>
<p>使用<em>make debug-winscw</em>来创建模拟器调试的二进制文件，而使用<em>make run</em>就能在模拟器中启动应
用：
</p>
<pre class="dos" style="font-family: monospace;">make debug-winscw<br>make run</pre>
<p><br>
</p>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatenote.gif" class="image" title="Wikitemplatenote.gif"><img alt="" src="http://developer.symbian.org/wiki/images/5/5d/Wikitemplatenote.gif" border="0" height="75" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Note</strong> <br>如
            果在系统中安装了多重SDK（终端），那么就能使用<em>devices</em>
            命令，把正在工作的SDK设置为默认终端。（例如，C:\&gt;devices） 。否则，<em>make</em>命令可能不能正常工作。</td>
        </tr>
    </tbody>
</table>
</div>
<p><br>
</p>
<p><br>
使用<em>make release-gcce</em>来针对终端创建release的二进制文件。在创建了二进制文件后，<em>make sis</em>被
调用，用于创建一个未签名的安装文件。在部署了Qt后，这个文件可以被安装，并且在终端上运行。
</p>
<pre class="dos" style="font-family: monospace;">make release-gcce<br>make sis</pre>
<p>同时也有针对RVCT编译器（<em>debug-armv5</em>和<em>release-armv5</em>）的<em>make</em>目标。<em>release-winscw</em>目
标确实存在，但不能被使用，因为SDK没有release的模拟器二进制文件。
</p>
<p>上面创建的sis文件是自我签名的。而有许多其它SIS选项可作为环境变量或者选项，用于选择——这些都被记录在<a href="http://qt.nokia.com/doc/4.6/symbian-with-qt-introduction.html#installing-your-own-applications" class="external text" title="http://qt.nokia.com/doc/4.6/symbian-with-qt-introduction.html#installing-your-own-applications" rel="nofollow">The Symbian platform - Introduction to Qt</a>中。例如，如果您想立刻
安装程序，那么就需确保终端是在"PC 套件"模式下与电脑连接，然后在QT_SIS_OPTIONS=-i的情况下运行sis目标，就像这样：
</p>
<pre class="dos" style="font-family: monospace;">make sis QT_SIS_OPTIONS=-i</pre>
<p><br>
</p>
<a name=".E6.8A.8AQt.E9.83.A8.E7.BD.B2.E5.88.B0.E7.BB.88.E7.AB.AF" id=".E6.8A.8AQt.E9.83.A8.E7.BD.B2.E5.88.B0.E7.BB.88.E7.AB.AF"></a>
<h2>  把Qt部署到终端 </h2>
<p>最早把Qt部署到终端的方法是安装名称为qt_installer.sis或者qt_demos.sis的安装文件，而文件可用Qt被拷贝到
Windows系统的电脑上（拷贝到Qt的"根目录"，默认下位于：C:\Qt\4.6.1\)。 其中包含了Qt库和依赖项（Open C and
Open C++）。qt_demos.sis还附加含有fluidlauncher演示应用——这些应用提供了关于Qt在移动终端上的性能的良好范例。
</p>
<p>Qt安装程序同时也提供了qt.sis（只包含Qt的二进制文件——依赖于Open
C/C++），qt_selfsigned.sis（一个自签名的qt.sis版本），和fluidlauncher.sis（依赖于Qt和Open
C），而这些在一些需打包的情况下会很有用。如果您需要三个Open C/C++ 安装文件的独立版本，那么这些版本就位于您的Symbian
SDK的目录中，在EPOCROOT目录的下述路径中（就在您安装SDK的位置）：
</p>
<ul>
    <li>
    <tt>&lt;EPOCROOT&gt;\nokia_plugin\openc\s60opencsis\pips_s60_&lt;version&gt;.sis</tt>
    </li>
    <li>
    <tt>&lt;EPOCROOT&gt;\nokia_plugin\openc\s60opencsis\openc_ssl_s60_&lt;version&gt;.sis</tt>
    </li>
    <li>
    <tt>&lt;EPOCROOT&gt;\nokia_plugin\opencpp\s60opencppsis\stdcpp_s60_&lt;version&gt;.sis</tt>
    </li>
</ul>
<p><br>
</p>
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:Wikitemplatetip.gif" class="image" title="Wikitemplatetip.gif"><img alt="" src="http://developer.symbian.org/wiki/images/2/2e/Wikitemplatetip.gif" border="0" height="65" width="100"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><strong> Tip</strong> <br>在
            撰写此文时，还没有SIS文件可以使用针对三星手机的证书来签名。<a href="http://developer.symbian.org/wiki/index.php/Samsung_i8910_HD" title="Samsung i8910 HD">Samsung i8910/Omnia HD</a>的拥有者必须另外安装上述的OPen
            C/Open C文件和qt_selfsigned.sis。</td>
        </tr>
    </tbody>
</table>
</div>
<a name=".E7.96.91.E9.9A.BE.E9.97.AE.E9.A2.98" id=".E7.96.91.E9.9A.BE.E9.97.AE.E9.A2.98"></a>
<h2>  疑难问题 </h2>
<p>绝大多数用户遵循上述指导说明来进行，不会遇到问题，而且同时已经毫不费力地在命令行上构建了一个范例。
</p>
<p>如果您遇到开发环境问题，那么您必须：
</p>
<ul>
    <li> 检测您的<a href="http://developer.symbian.org/wiki/index.php/How_do_I_test_that_my_development_environment_is_set_up_correctly%3F" title="How do I test that my development environment is set up
    correctly?">开发环境是否被正确地安装设置</a>
    </li>
    <li> 遵照<a href="http://developer.symbian.org/wiki/index.php/Development_Environment_Troubleshooting_Guide" title="Development Environment Troubleshooting Guide">关于开发环境的疑难问题的指南</a>
    </li>
    <li> 再次查看<a href="http://qt.gitorious.org/qt/pages/Qt460KnownIssues" class="external
    text" title="http://qt.gitorious.org/qt/pages/Qt460KnownIssues" rel="nofollow">Qt Known Issues|Qt的已知问题</a> （Gitorious上）。
    </li>
</ul>
<a name=".E6.80.BB.E7.BB.93" id=".E6.80.BB.E7.BB.93"></a>
<h2>  总结 </h2>
<p>此教程会向您展示如何在装有Windows系统的电脑上安装设置Qt
的开发环境，如何构建范例命令行应用和如何把Qt二进制文件和演示程序配置到Symbian移动终端上。
</p>
<p>下一步，开发伙伴应该针对Qt开发安装设置IDE，如<a href="http://developer.symbian.org/wiki/index.php/Qt_Carbide.c%2B%2B_IDE_Quick_Start" title="Qt Carbide.c++ IDE Quick Start">Qt Carbide.c++ IDE快速入门</a>（或者<a href="http://developer.symbian.org/wiki/index.php/Qt_Creator_with_the_Symbian_Platform" title="Qt Creator with the Symbian Platform">Symbian平台的Qt Creator</a>）中
所讨论的那样。
</p>
<a name=".E7.9B.B8.E5.85.B3.E4.BF.A1.E6.81.AF" id=".E7.9B.B8.E5.85.B3.E4.BF.A1.E6.81.AF"></a>
<h2>  相关信息 </h2>
<p>延伸阅读：
</p>
<ul>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Technical_Overview" title="Qt Technical Overview">Qt的技术概览</a>
    </li>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Qt_Q%26As" title="Qt
    Q&amp;As">Qt的问与答</a>
    </li>
    <li> <a href="http://qt.nokia.com/doc/4.6" class="external text" title="http://qt.nokia.com/doc/4.6" rel="nofollow">Qt的参考文档</a>（推荐）
    </li>
    <li> <a href="http://library.forum.nokia.com/topic/Qt_for_S60_Developers_Library/GUID-97A34C6E-9F2B-4743-86F8-563362F7047A_cover.html" class="external text" title="http://library.forum.nokia.com/topic/Qt_for_S60_Developers_Library/GUID-97A34C6E-9F2B-4743-86F8-563362F7047A_cover.html" rel="nofollow">Qt 开发伙伴库</a> （诺基亚论坛）
    </li>
    <li> 三星Symbian上的Qt<a href="http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=1&amp;cntsId=5420&amp;listReturnUrl=http://innovator.samsungmobile.com:80/cms/cnts/knowledge.list.do%3FplatformId%3D1&amp;linkType=0" class="external text" title="http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=1&amp;cntsId=5420&amp;listReturnUrl=http://innovator.samsungmobile.com:80/cms/cnts/knowledge.list.do%3FplatformId%3D1&amp;linkType=0" rel="nofollow">第一部分</a>和<a href="http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?cntsId=5680&amp;platformId=1" class="external text" title="http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?cntsId=5680&amp;platformId=1" rel="nofollow">第二部分</a>
    </li>
    <li> <a href="http://labs.trolltech.com/blogs/2009/12/03/tutorial-videos-qt-development-for-symbian/" class="external text" title="http://labs.trolltech.com/blogs/2009/12/03/tutorial-videos-qt-development-for-symbian/" rel="nofollow">一个关于针对Symbian来安装设置Qt开发环境的视屏指南</a>
    </li>
</ul>
<p>关于软件包：
</p>
<ul>
    <li> <a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F" title="What are the Kits?">什么是软件包？</a>分别解释了<a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Application_Development_Toolkit_.28ADT.29" title="What are the Kits?">什么是ADT</a>和<a href="http://developer.symbian.org/wiki/index.php/What_are_the_Kits%3F#Application_Development_SDK" title="What are the Kits?">什么是SDK</a>.
    </li>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Kits_Q%26As" title="Kits Q&amp;As">软件包的问与答</a>
    </li>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Debugging_on_the_Device_Quick_Start" title="Debugging on the Device Quick Start">从终端上的调试开始入门</a>
    </li>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Symbian%5E1_SDK_Release_Notes" title="Symbian^1 SDK Release Notes">Symbian^1 SDK的发行版本记录</a>
    </li>
    <li> <a href="http://developer.symbian.org/wiki/index.php/Symbian%5E1_SDK_Installation_Guide" title="Symbian^1 SDK Installation Guide">Symbian^1 SDK的安装指南</a>
    </li>
</ul>
<div class="licence">
<div class="infobox2" style="width: 60%; padding: 0px; text-align: center; margin-left: 0px; background: none repeat scroll 0% 0% white; border: 1px solid #000000;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
        <tr>
            <td style="border: 1px dashed #7f7c75;" valign="top" width="100">
            <div class="floatleft"><a href="http://developer.symbian.org/wiki/index.php/File:CreativeCommons_attribution_sharealike_2.5_by-sa2.5_88x31.png" class="image" title="CreativeCommons attribution sharealike 2.5
            by-sa2.5 88x31.png"><img alt="" src="http://developer.symbian.org/wiki/images/thumb/6/61/CreativeCommons_attribution_sharealike_2.5_by-sa2.5_88x31.png/180px-CreativeCommons_attribution_sharealike_2.5_by-sa2.5_88x31.png" border="0" height="48" width="180"></a></div>
            </td>
            <td style="border: 1px dashed #7f7c75;" valign="top"><small>&#169;
            2009 Nokia Corporation and/or its subsidiary(-ies). This document is
            licensed under the <a href="http://creativecommons.org/licenses/by-sa/2.5/" class="external
            text" title="http://creativecommons.org/licenses/by-sa/2.5/" rel="nofollow">Creative Commons Attribution-Share Alike 2.5</a> license.
            See <a href="http://creativecommons.org/licenses/by-sa/2.5/legalcode" class="external free" title="http://creativecommons.org/licenses/by-sa/2.5/legalcode" rel="nofollow">http://creativecommons.org/licenses/by-sa/2.5/legalcode</a>
            for the full terms of the license.</small></td>
        </tr>
    </tbody>
</table>
</div>
</div>
<!--
newpp limit report
Preprocessor node count: 319/1000000
Post-expand include size: 14028/2097152 bytes
Template argument size: 7099/2097152 bytes
Expensive parser function count: 0/100
-->
<!-- saved in parser cache with key wikidb:pcache:idhash:6809-0!1!0!!en!2!edit="0" and timestamp 20100402124553 -->
<div class="printfooter">
Retrieved from "<a href="http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans">http://developer.symbian.org/wiki/index.php/Qt_Quick_Start/zh-hans</a>"</div>
<h1>Comments</h1>
<p><a href="https://developer.symbian.org/main/user_profile/login.php" class="external text" title="https://developer.symbian.org/main/user_profile/login.php" rel="nofollow">Sign in</a> to comment&#8230;
</p>
<div id="catlinks" class="catlinks">
<div id="mw-normal-catlinks"><a href="http://developer.symbian.org/wiki/index.php/Special:Categories" title="Special:Categories">Categories</a>: <a href="http://developer.symbian.org/wiki/index.php/Category:Qt" title="Category:Qt">Qt</a> | <a href="http://developer.symbian.org/wiki/index.php/Category:Quick_Start" title="Category:Quick Start">Quick Start</a></div>
</div>
<!-- end content -->
</div>
</div>
</div>
</div>
<!-- end right column -->
<div id="footer">
<div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="http://developer.symbian.org/wiki/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki"></a></div>
<ul id="f-list">
    <li id="lastmod"> This page was last modified on 10 March 2010, at
    23:29.</li>
    <li id="viewcount">This page has been accessed 642 times.</li>
    <li id="disclaimer"><a href="http://developer.symbian.org/wiki/index.php/Symbian_Developer_Community:General_disclaimer" title="Symbian Developer Community:General disclaimer">Disclaimers</a></li>
</ul>
<script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script>
<!-- Served in 0.230 secs. --></div>
</div>
﻿<!--googleoff: all-->
</div>
<div id="dev_footer">
<div id="footer_top_links">
<ul>
    <li><a class="thickbox" href="http://developer.symbian.org/main/subscribe.php?keepThis=true&amp;TB_iframe=true&amp;height=75%&amp;width=735">Subscribe
    to our newsletter</a></li>
    <li class="last"><a class="thickbox" title="Feedback" href="http://developer.symbian.org/main/feedback/index.php?keepThis=true&amp;TB_iframe=true&amp;height=95%&amp;width=785">Feedback</a></li>
</ul>
</div>
<div class="links_block first">
<h4 id="footer_planet">OUR SITES</h4>
<ul>
    <li><a href="http://www.symbian.org/">symbian.org</a></li>
    <li><a href="http://developer.symbian.org/">developer</a></li>
    <li><a href="http://ideas.symbian.org/homepage">ideas</a></li>
    <li><a href="http://www.symbiansigned.com/">symbian signed</a></li>
    <li><a href="http://blog.symbian.org/">symbian blog</a></li>
</ul>
<!--
<h4 id="sitemap"><a href="/main/sitemap/sitemap.php">Sitemap</a></h4>
-->
</div>
<div class="links">
<div class="links_block second">
<h4>DEVELOPER PROGRAMS</h4>
<h4><a href="http://developer.symbian.org/main/source/">Source</a></h4>
<ul>
    <li><a href="http://developer.symbian.org/main/source/technology_domains/index.php">Technology
    domains</a></li>
    <li><a href="http://developer.symbian.org/main/source/packages/index.php">Packages</a></li>
    <li><a href="http://developer.symbian.org/main/source/browse/index.php">Browse
    code</a></li>
    <li><a href="http://developer.symbian.org/bugs/">Bug tracker</a></li>
    <li><a href="http://developer.symbian.org/wiki/index.php/Roadmap_for_the_Symbian_Platform">Roadmap</a></li>
    <li><a href="http://developer.symbian.org/mailman/listinfo">Mailing
    lists</a></li>
</ul>
<h4><a href="http://developer.symbian.org/webbugs">Website bugs</a></h4>
</div>
<div class="links_block third">
<h4><a href="http://developer.symbian.org/main/documentation/">Documentation</a></h4>
<ul>
    <li><a href="http://developer.symbian.org/main/documentation/carbide/index.php">Application
    reference</a></li>
    <li><a href="http://developer.symbian.org/main/documentation/reference/s%5E3/doc_source/">Product
    reference Symbian^3</a></li>
    <li><a href="http://developer.symbian.org/main/documentation/reference/s%5E2/doc_source/">Product
    reference Symbian^2</a></li>
    <li><a href="http://developer.symbian.org/wiki">Wiki</a></li>
    <li><a href="http://developer.symbian.org/main/documentation/books/index.php">Books</a></li>
</ul>
<h4><a href="http://developer.symbian.org/forum">Forums</a></h4>
</div>
<div class="links_block fourth">
<h4>CONTACT</h4>
<ul class="contact">
    <li><a href="http://developer.symbian.org/main/contact/contact_us/">Got
    a question? Fire away here</a></li>
    <li><a href="http://developer.symbian.org/main/contact/notify_us.php">Notify us
    of a copyright infringement </a></li>
    <li><a href="http://developer.symbian.org/main/contact/index.php">Locate
    our offices </a></li>
    <li><a target="_blank" href="http://www.symbian.org/about-us/jobs-symbian">Careers at Symbian</a></li>
</ul>
<h4>Follow us</h4>
<ul class="follow">
    <li><a href="http://twitter.com/symbian">Twitter</a></li>
    <li><a href="http://www.facebook.com/group.php?sid=6f83cd3416e2c6dae2071a472a5438ea&amp;gid=54539976089">Facebook</a></li>
    <li><a href="http://www.myspace.com/symbianf">MySpace</a></li>
    <li><a href="http://www.youtube.com/symbianfoundation">YouTube</a></li>
</ul>
</div>
<div id="copy">
<p>
&#169; 2010 Symbian Foundation Limited.
<a href="http://developer.symbian.org/main/legal/website_t_and_c.php">Terms
&amp; conditions</a>
&amp;
<a href="http://developer.symbian.org/main/legal/privacy.php">Privacy
policy</a>
</p>
</div>
</div>
<div class="right">
<script src="http://developer.symbian.org/js/gatag.js" type="text/javascript"></script>
<script type="text/javascript">
				var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
				document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
				try {
					var pageTracker = _gat._getTracker("UA-6718609-1");
					pageTracker._trackPageview();
				} catch(err) {}
		</script>
</div>
</div>
<!--googleon: all-->
<div style="position: absolute; display: none; z-index: 9999; border: 2px solid #0099ff;" id="livemargins_control"><img src="chrome://livemargins/skin/monitor-background-horizontal.png" style="position: absolute; left: -77px; top: -5px;" height="5" width="77">	<img src="chrome://livemargins/skin/monitor-background-vertical.png" style="position: absolute; left: 0pt; top: -5px;">	<img id="monitor-play-button" src="chrome://livemargins/skin/monitor-play-button.png" onmouseover="this.style.opacity=1" onmouseout="this.style.opacity=0.5" style="position: absolute; left: 1px; top: 0pt; opacity: 0.5; cursor: pointer;"></div>
<br><img src ="http://www.cppblog.com/flyonok/aggbug/111510.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-04-03 19:03 <a href="http://www.cppblog.com/flyonok/archive/2010/04/03/111510.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>symbian 模拟器自动消失的问题（Exception 0x10000000）</title><link>http://www.cppblog.com/flyonok/archive/2010/04/03/111495.html</link><dc:creator>flyonok</dc:creator><author>flyonok</author><pubDate>Sat, 03 Apr 2010 07:01:00 GMT</pubDate><guid>http://www.cppblog.com/flyonok/archive/2010/04/03/111495.html</guid><wfw:comment>http://www.cppblog.com/flyonok/comments/111495.html</wfw:comment><comments>http://www.cppblog.com/flyonok/archive/2010/04/03/111495.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/flyonok/comments/commentRss/111495.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/flyonok/services/trackbacks/111495.html</trackback:ping><description><![CDATA[以前在winxp上搭建qt for symbian的环境的时候比较顺利，后来系统换了个win2003，重新搭建时发现启动模拟器的时候老是没过多久模拟器就自动消失了，重装也不能解决问题。打开.../epoc32/data/epoc.ini,把LogToFile 设置为1,这样模拟器就会向%TMP%下写日志文件。再次运行模拟器，打开日志epocwind.out，发现<img  src="file:///c:/Temp/moz-screenshot.png" alt=""><img  src="file:///c:/Temp/moz-screenshot-1.png" alt="">有这么一行信息：Exception 0x10000000 (268435456)，在网上bing了一下（google走了。。。）终于找到了解决办法，如下：<br>右击我的电脑--〉打开高级标签页--〉性能--〉设置--〉数据执行保护--〉把...\epoc32\release\winscw\udeb\epoc.exe加入到例外，按确定重新启动模拟器就好了。。。。。<br><img src ="http://www.cppblog.com/flyonok/aggbug/111495.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/flyonok/" target="_blank">flyonok</a> 2010-04-03 15:01 <a href="http://www.cppblog.com/flyonok/archive/2010/04/03/111495.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>