• 3951阅读
  • 0回复

QT/QTE概述 [复制链接]

上一主题 下一主题
离线keisuo
 

只看楼主 倒序阅读 楼主  发表于: 2007-05-28
— 本帖被 XChinux 从 Qt Programming 移动到本区(2008-07-18) —
QT:The Qt toolkit is a C++ class library and a set of tools for building multiplatform GUI programs using a “write once, compile anywhere” approach. 有多种操作系统平台下的QT开发工具,所开发的应用程序经相应编译也能运行在不同的操作系统上,例如Windows 95-XP,Mac OS X,Linux/Unix with X11,Solaris,HP-UX等。



QT/X11:Linux/Unix with X11平台下的QT版本。在嵌入式Linux开发中,为QT/E提供Qt Designer开发工具和qvfb工具(Virtual FrameBuffer for QT/E)。



QT/Embedded:用于Embedded Linux的QT版本。是针对于嵌入式系统的特点,对PC下的QT进行特别裁减和增补后的嵌入式QT。因此也是GUI的一个C++类库和一套GUI开发工具,只不过是针对于嵌入式Linux系统的。



Qtopia:可以认为是基于QT/E库的一个嵌入式Linux桌面环境,同时又为开发者为嵌入式设备编写程序提供了一个面向对象的API(Application Programming Interface,应用编程接口)。The Qtopia platform encomposses both the software that runs on an embedded device and the software that runs on a end-users desktop. The software that runs on the desktop, called Qtopia Desktop, allows the user to input Qtopia application information on their desktop and synchronize their data between the embedded device and the desktop. Qtopia Desktop allows the developer to write plugins into the desktop to synchronize their information.

①     Qtopia is Trolltech's comprehensive application platform / a graphical environment for embedded Linux-based PDAs, mobile phones, web pads, and other mobile computing devices. Qtopia产品线被设计用来提供和创造GUI,有两种版本可用:Qtopia Phone Edition(用于智能电话)和Qtopia PDA Edition(用于基于Linux OS的PDA)。

②     Can you suggest a cross compiler for ARM applications? Yes. We recommend you try ftp://ftp.arm.linux.org.uk/pub/linux/arm/toolchain/.

③     What can be done with QT Designer for Qtopia? QT Designer can be used to create user-interface files for Qtopia, however, code will be required to customize the user-interface for the available screen size.

To edit files for the Qtopia 2 series QT Designer for Qt 2.3.x must be used.

④   Qtopia与Qtopia Desktop的区别:They are separate products that work together. Qtopia is the environment that you start by running qpe. Qtopia Desktop is the synchronization/PIM software that runs on a desktop machine and connects to a Qtopia device.



Qtopia platform:Qtopia platform consists of the Qtopia libraries (Qt/E, libqpe, libqtopia1, qtopiapim) and the Qtopia server/launcher. Application developers should use these libraries when writing applications for a Qtopia device. The Qtopia launcher/server is the main process that controls the windowing system, interprocess communication, launching all applications and other central tasks.


Qtopia Related Tools:There are several tools available to assist in the development of Qtopia software.以下是一些命令行工具和graphical tools,能使开发更容易更高效。

①tmake:A makefile tool for Qtopia 1.6 and 1.7,to create and maintain makefiles for software projects. qmake的老版本。

②qmake:a Qtopia make Tool for Qtopia 1.9 onwards, to create makefiles for different compilers and platforms. qmake takes care of all the compiler and platform dependencies, freeing developers to focus on their code.

③makeqpf:used to save QPF font files by rendering and saving fonts.

④QVFB:The virtual framebuffer allows Qt/Embedded programs to be developed on a desktop machine,without switching between consoles and X11.在$QTDIR/tools/qvfb 目录下。详细可参考http://doc.trolltech.com/qtopia2.1/html/qvfb-qtopia.html

⑤Phone Simulator:a graphical desktop method of testing and viewing phone software.



Uic:User Interface Compiler,是QT自带的工具,可将*.ui文件转换成*.h文件和*.cpp文件。



Qtopia/QtEmbedded版本对应关系?

Qtopia1.7.0 / Qte 2.3.7

Qtopia2.1.1 / Qte 2.3.10

Qtopia2.1.2 / Qte 2.3.11

Qtopia2.2.0 / Qte 2.3.12 (包含在qtopia2.2源码包中)

qtopia 2的应用基于qte 2.3.x的

qtopia 4的应用基于qtopia core(相当于原来的qte) 4.x



[参考资料]

①      http://doc.trolltech.com/,Qtopia Reference Documentation

②   其他网络资源
[ 此贴被XChinux在2008-07-18 16:39重新编辑 ]
快速回复
限100 字节
 
上一个 下一个