| Qt release finalizes support for Windows CE, Mobile |
May 05, 2008
Trolltech has released a new version of its cross-platform application development framework. Qt version 4.4 supports Windows CE and Windows Mobile as build targets, and incorporates the Webkit open-source browser engine, along with a new multimedia framework and support for multi-CPU systems, the company says.
(Click for larger view of Qt 4.4 image view in landscape mode on Windows CE)
Qt is an application development framework intended to let developers compile binaries for various platforms -- Windows, Mac, Linux, Java, and now Windows CE -- from a single C++ code base. Comprised of some 400 C++ class libraries, its API is consistent across all supported platforms, Trolltech says.
Previously released versions of Qt run on Windows desktops ("Qt/Windows"), OS X ("Qt/Mac"), Java ("Qt/Jambi"), desktop Linux ("Qt/X11"), and embedded Linux ("Qt for embedded Linux," formerly Qtopia). Version 4.4 now supports Windows CE 5.0 and 6.0, and Windows Mobile 5.0 and 6.0.
 Trolltech Qt 4.4 architecture (Click to enlarge)
In addition to the Windows CE and Windows Mobile support, new features touted for version 4.4 include:- Incorporation of Webkit, the open-source browser engine used by Apple's Safari browser, the Apple iPhone, and Nokia smartphones
- The addition of widgets support to Qt's QGraphicsView canvas
- Support for Phonon, a cross-platform multimedia framework developed in conjunction with the KDE community
- Inclusion of a new Qt Concurrency API (applications programming interface), said to simplify some kinds of multi-threaded application programming on multi-CPU systems
- Support for the XQuery XML standard
Windows CE and Mobile support
Trolltech first announced plans to add support for Windows CE and Windows Mobile to Qt in October 2007. Today's formal release of Qt 4.4 marks a near-complete port of the framework's API and developer tools to Microsoft's device-oriented Windows CE operating systems.
 Qt's text editor running on Windows Mobile (Click to enlarge) |  Qt's Tetrix application in Windows Mobile's landscape mode (Click to enlarge) |
Applications developed using any previous Qt versions can now be moved to Windows CE or Mobile, where they will look and act like native applications, according to Trolltech CTO Benoit Schillings. When statically linked and stripped of unused functions, the typical Qt overhead in terms of footprint is about 10MB, he suggested.
 Qt for Windows CE features Visual Studio integration (Click to enlarge) According to Espen Riskedal, Trolltech's team lead for the company's Qt for Windows CE development project, Qt 4.4 for Windows CE and Windows Mobile saves space on devices by implementing a Qfeatures system, allowing developers to configure which classes should be built inside the separate Qt modules. It also implements asynchronous networking functionality that the Microsoft operating systems lacked natively, he adds.
A video, posted by Riskedal on his blog, shows a common set of Qt demo programs running on both a Windows Mobile-based HTC Touch Cruise phone, with a QVGA display, and a Linux-based Neo1973, with full VGA resolution. "This demo set was originally developed and compiled for embedded Linux. All that was needed to have it running out of the box for Windows CE and Mobile was to add a few deployment rules to the .pro file for the demo. Now, it goes without saying that these demos run out of the box on our desktop platforms too," he writes.
To see the video demonstration, go here.
Webkit and widgets
WebKit is an open-source HTML rendering engine best-known for its use in the OS X, iPhone, and Windows versions of Safari. Originally derived from the HTML rendering engine used in the KDE community's Konqueror browser, WebKit now targets "Web 2.0" features such as asynchronous Javascript (Ajax), and has a smaller footprint than most alternatives. Among other uses, it has been employed by Adobe, which based its AIR (Adobe Integrated Runtime) web development toolsuite on it. Webkit also powers at least one web browser for Windows Mobile, Torch Mobile's Iris Browser.
    Webkit-enabled applications (Click any to enlarge)
Inclusion of Webkit with Qt version 4.4 means developers can include HTML rendering in their applications very simply, says Trolltech. Qt provides Webkit via a QWebView widget that can be used like any other, and is even supported by the drag-and-drop user interface design tool, Qt Designer, according to the company.
 Qt 4.4 embedded dialogs demo (Click to enlarge)
Qt 4.4 is said to offer support for the XQuery standard, enabling developers to query, extract, and transform data from XML-encoded content. Also new to Qt 4.4 is support for XML widgets on QT's QGraphicsView canvas. QGraphicsView already offered an object-oriented model for laying out and maintaining 2D graphics items. Now, widgets can be imported and manipulated into the canvas just like other graphics can. Among other things, this lets programmers create dialog boxes that can transform themselves in many different ways according to user input (see above).
Phonon & Concurrency
Qt version 4.4 improves multimedia performance by leveraging a desktop media framework developed by the KDE project. Phonon is an abstraction layer aimed at making it easier to create multimedia applications that run on any platform Qt supports, says Trolltech. Phonon has been enhanced by Trolltech to support non-Linux platforms such as Quicktime on Macintosh OS X and DirectShow 9 on Windows.
Another addition is a Qt Concurrency library aimed at easing some types of multicore programming. Trolltech says the framework provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives.
Further information and availability
For more information on Qt 4.4 for Windows CE, see our earlier coverage, here. Qt has also been covered extensively by our sister site, LinuxDevices.com. In the most recent development there, Nokia said it would support Qt application development for Maemo, its Linux-based platform for Internet tablets. In January, Nokia announced plans to acquire Trolltech.
Related stories:
(Click here for further information)
|
|
|
7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.
4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.
Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.
Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.
Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.
Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.
Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.
Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.
Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.
|
|
|
|
|