⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overview.html

📁 qtopiaphone英文帮助,用于初学者和开发人员,初学者可以用来学习,开发人员可以用来资料查询.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- /home/edba/dist/qtopia/main-Sunday/qtopia/doc/overview.doc:1 --><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Qtopia Overview</title><style type="text/css"><!--h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }a:link { color: #004faf; text-decoration: none }a:visited { color: #672967; text-decoration: none }body { background: #ffffff; color: black; }--></style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="200" align="left" valign="top"><a href="index.html"><img height="27" width="472" src="dochead.png" border="0"></a><br><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" align="center" size=32>Qtopia</font>   <a href="index.html">Home</a> - <a href="qtopiaclasses.html">Classes</a> - <a href="qtopiaannotated.html">Annotated</a> - <a href="qtopiafunctions.html">Functions</a> - <a href="qtindex.html">Qt Embedded</a></td><td align="right" valign="top">  <table border="0" cellpadding="0" cellspacing="0" width="137">  <tr>  <td><a href="http://www.trolltech.com/company/about/trolls.html"><img height="100" width="100" src="face.png" border="0"></a></td>  <td><img height="100" width="100" src="qtlogo.png" align="top" border="0"></td>  </tr>  </table></td></tr></table><h1 align=center>Qtopia Overview</h1><p> <!-- toc --><ul><li><a href="#1"> Introduction</a><li><a href="#2"> Software Stack</a><li><a href="#3"> Qtopia's Qt/Embedded Configuration</a><li><a href="#4"> Qtopia, Qt Versions and Binary Compatibility</a><li><a href="#5"> Qtopia Platform</a><ul><li><a href="#5-1"> Qtopia PIM Access Library</a></ul></ul><!-- endtoc --><p> <h2> Introduction</h2><a name="1"></a><p> Qtopia is a platform for embedded Linux devices. Qtopia provides theend-user with a set of core applications that are expected on modernembedded platforms such as PIM applications (Address Book, <a href="calendar.html">Calendar</a>and Todo) and a Media Player.<p> Qtopia provides the developer with a clean object-oriented API towrite applications for an embedded device. Most of the API presentedto the developer is the same API offered by Trolltech forcross-platform development between Windows, Mac and the UNIX's. Thesame code can be shared and reused on all of these desktop platformsand now Qtopia is just another platform to run your great Qt applications.<p> The Qtopia platform encomposses both the software that runs on anembedded device and the software that runs on a end-users desktop. Thesoftware that runs on the desktop, called Qtopia Desktop, allows theuser to input Qtopia application information on their desktop andsynchronize their data between the embedded device and thedesktop. Qtopia Desktop allows the developer to write plugins into thedesktop to synchronize their information. Please refer to the<a href="qtopiadesktop.html">Qtopia Desktop documentation</a> formore information.<p> For the most up to date documentation and product information forQtopia, please visit <ahref="http://www.trolltech.com/products/qtopia/index.html"> Trolltech'swebsite</a>.<p> <h2> Software Stack</h2><a name="2"></a><p> The Qtopia software stack on the embedded device has four main layersas shown in the following image.<p> <center><img src="stack.png" width="254" height="291"></center> Insignia's Java is written on top of Qt/Embedded (and a Qt/AWTimplementation). Other applications such as Opera's Web Browser andHandcom Office Suite is written on top of Qt/Embedded and Qtopia.<p> <h2> Qtopia's Qt/Embedded Configuration</h2><a name="3"></a><p> Trolltech's flagship product, Qt, is an API for cross-platform C++development. Qt/Embedded allows applications written for the Qt/API tobe recompiled and run for an embedded architecture without aunderlying windowing system such as X11.<p> It is intended that an application that is written for an embeddeddevice can use the same code that is used on the desktop. This allows thedeveloper to have a single source tree for the entire applicationsuite offering.<p> In fact, the developer will not see a different API for Qt/Embedded inthe Qt documenation. However, Qtopia uses a subset of Qt/Embedded tuned forsmaller footprint (displays, memory, speed, etc). <p> The modules removed from Qt due to their large size, speed or becausethey do not belong or are not necessary on an embedded device. Forsome of the modules, a description is provided if it is not obviouswhy this was left out of the Qt/Embedded offering for Qtopia.<p> <ul><li> Core Qt: <a href="properties.html"> properties</a>, <ahref="coordsys.html">transformations</a>, <ahref="qprinter.html">QPrinter</a> , <a href="xml.html"> XMLmodule</a> (too large and too slow to use)<p> <li> UI: <a href="qtextcodec.html"> QTextCodec modules</a>, <ahref="dnd.html">drag and drop</a>, <a href="emb-fonts.html">freetype fonts</a>, extra desktop styles (i.e. Motif) were replaced byQtopia style plugins<p> <li> Images: No PPM images for <ahref="qimageio.html">QImageIO</a>, <ahref="qpicture.html">QPicture</a><p> <li> QWidgets: <a href="qsplitter.html"> QSplitter</a>, <ahref="qdial.html"> QDial</a>, <ahref="qworkspace.html">QWorkspace</a><p> <li> QDialogs: <a href="qfiledialog.html"> QFileDialog</a> (inQtopia we use the document view system instead of exposing the filesystem to the user), <a href="qcolordialog.html">QColorDialog</a>, <a href="qprogressdialog.html">QProgressDialog</a>, <a href="qprintdialog.html">QPrintDialog</a>, <a href="qinputdialog.html"> QInputDialog</a><p> </ul><p> If a developer attempts to use a component that has been removed from the Qt/Embedded for Qtopia offering, the developer will see a compiler error.<p> <h2> Qtopia, Qt Versions and Binary Compatibility</h2><a name="4"></a><p> Qtopia has shipped on the Sharp Zaurus 5500 and other embeddeddevices. Qtopia embedded requires Qt/Embedded 2.3. Qtopia Desktoprequires Qt/Desktop (either X11, Windows or Mac) version 3.1.x.<p> When the developer compiles their application, it must be compiled andlinked against a binary compatible version of Qtopia and Qt/Embeddedfor that platform on the device. It is highly recommended forapplication authors to compile and link their applications using thelatest SDKs provided by Trolltech to ensure binarycompatibility. Please visit <ahref="http://www.trolltech.com/developer/download/qtopia.html">Trolltech's Qtopia developer download page</a> for links to the latestcommercial and GPL SDKs.<p> A library is binary compatible, if a program linked dynamically to aformer version of the library continues running with newer versions ofthe library without the need to recompile. So applications compiledand linked for libqpe 1.5.0 should still link with libqpe 1.5.2 andvice-versa. If binary compatibility is broken, the application willnot run on the target devices. To ensure binary compatibility, <b>donot change any Qtopia API</b>. <p> Functionality that is added to Qtopia 1.x will mainly be added throughadd-on libraries. These add on libraries can be installed on top ofQtopia 1.x. This will allow Qtopia 2 applications to run on aQtopia 1.x device, as long as the Qtopia 2 applications depend onthese 1.x libraries in the .ipk control files. These libraries shouldthen be automatically installed due the dependency.<p> <h2> Qtopia Platform</h2><a name="5"></a><p> Qtopia platform consists of the Qtopia libraries (Qt/E, libqpe,libqtopia1, qtopiapim) and the Qtopia server/launcher. Applicationdevelopers should use these libraries when writing applications for aQtopia device. The Qtopia launcher/server is the main process thatcontrols the windowing system, interprocess communication, launchingall applications and other central tasks. <p> Please refer tothe <a href="index.html">Qtopia Developer Reference Manual</a> formore documentation about what is provided in the Qtopia library.  Thislibrary links agains Qt/Embedded 2.3.<p> Note that the Qtopia core API has been broken up into two seperatelibraries. One library is called libqpe and the other library islibqtopia1. libqpe 1.5.2 is binary compatible with the existing libqpe1.5.0 and libqpe 1.5.1 libraries. libqtopia1 contains the source codefor the additional methods and classes added to Qtopia for theQtopia 1.7.0 release. Qtopia 1.7 applications depend on both ofthese libraries. Qtopia 1.5 devices will be able to install Qtopia 1.7applications by installing libqtopia1 and any other libraries theyneed.<p> When you create a package, make sure you state all librarydependencies so the package installer knows what it needs to installbefore your application can run. Please read the <ahref="distrib.html">distribution packaging</a> for more informationregarding packaging and dependencies.<p> <h3> Qtopia PIM Access Library</h3><a name="5-1"></a><p> A separate library is provided for the embedded device to access theQtopia PIM information. An application can depend on this ipkg for useof their application, and it will automatically be installed by theApplication Installer software on Qtopia Desktop and Add/RemoveSoftware Application. Please refer to <a href="qpepim.html">QPEPIM Librarydocumentation</a> for more information. This library also dependson libqpe and libqtopia1 and Qt/Embedded 2.3.<p> <!-- eof --><p><address><hr><div align="center"><table width="100%" cellspacing="0" border="0"><tr><td>Copyright &copy; 2001-2004 Trolltech<td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a><td align="right"><div align="right">Qtopia version 2.0.0</div></table></div></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -