Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Qt rev'd
May 06, 2008

Trolltech has released a new version of its cross-platform application development framework. Qt 4.4 incorporates the open source Webkit browser engine, Phonon multimedia framework, and Qt Concurrency threads library for multicore, while adding support for Windows CE and Windows Mobile as build targets.

(Click for larger view of Qt 4.4 media player demo)

Qt is an application development framework intended to let developers compile binaries for various platforms -- Linux, Windows, Mac, 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 suggests.


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 demonstration, 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.

Webkit and widgets

Trolltech had originally revealed its intentions to integrate Webkit into Qt in October, and then followed up with more details in February. 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 used it as the foundation for its AIR (Adobe Integrated Runtime) web development toolsuite.


Webkit-enabled applications
(Click any to enlarge)


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. The integration should result in fewer differences between the desktop and mobile versions of Qt-based applications like Google Earth and iTunes, says Trolltech, as well as simpler integration of live web content and services on both mobile and desktop applications. It should also enable developers to use web technologies to build user interfaces for either kind of application.


Qt 4.4 embedded dialogs demo
(Click to enlarge)


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 and 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 multi-core programming. Trolltech says the framework provides high-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives.

Finally, Qt 4.4 is said to offer support for the XQuery standard. XQuery enables developers to query, extract, and transform data from XML-encoded content.

In January, Finland-based Nokia announced plans to acquire Trolltech. Nokia also recently announced it would support Qt application development for Maemo, its Linux-based platform for Internet tablets.

Availability

Qt 4.4 is available now, says Trolltech. Developers creating open source applications can license the release under GPL (both version 2 and 3), and developers creating commercial applications can license Qt with a standard license. More information and a link to the download page should be available here.



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.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• Linux-friendly SoCs target low-end multimedia
• CompactFlash as a COTS "standard"
• 65nm ARM9 SoCs target PNDs, smartphones
• Motorola Ming A1600 ships
• N810 gains Android installer
• PC/104-Plus board runs Linux on x86 SoC
• Webinars explore embedded Linux development
• Linux video camera geo-tags, writes to SATA drives
• Garmin Nav devices run Gnome Linux
• Ten LiMo phones this month?
• It's a Yankee Doodle Linux phone
• Wind River to host "Developer Day"
• Dev boards gain Linux support
• 802.11n zooms ahead
• Low-power mini-ITX board runs Linux


Most popular stories -- past 30 days:
• World's cheapest Linux-based laptop?
• Ubuntu ported to a PDA
• 64-way chip gains Linux IDE, dev cards, design wins
• Embedded PowerPC dev kits come with Linux
• Rapid time-to-evaluation -- a key goal for silicon providers
• Embedded Linux is doomed. DOOOMED!
• Rugged PDA available with Linux
• Netflix Player runs Linux
• Miniature Linux PC targets military apps
• $7 SoC runs Linux
• Android Developer Challenge announces first-round winners
• Dual-core ARM SoC clocks to 1.2GHz


Linux-Watch headlines:
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted
• Linux gains "embedded" maintainers
• Virtualization on tap in SLES and RHEL upgrades
• Linux gets security black eye
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.