You Are Here:

Qt Code Examples

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing


View all
11-Nov-2009

Qt: QMobilePaint Example
This Qt code example demonstrates drawing on the touch UI. Tested on Nokia N900.

11-Nov-2009

Qt: QRentBook Example
This Qt C++ application demonstrates how to use the QtSql module to access a SQLite 3 database.

27-Oct-2009

Qt for Symbian Examples
This updated package contains five basic Qt for Symbian example applications.

22-Oct-2009

Maemo 5: Hello World Example
This basic Hello World example is a part of the Get started with Maemo 5 e-learning module.

22-Oct-2009

Qt for Symbian: qutIM Example
This Qt example application is a qutIM instant messaging application ported for the Symbian platform. The application is an open source multi-protocol instant messenger for Windows and Linux systems. This example shows how it has been ported from the desktop to the Qt for Symbian environment. The application supports touch UI. This example is based on qutIM codes qutim-02_beta2 (http://www.qutim.org/uploads/src/qutim-0.2_beta2.tar.gz). Porting notes are provided in the Qt for Symbian Developer's Library. Important classes: QWizard, QTreeView, QTcpSocket, QHostAddress, QWebPage, QPluginLoader.

02-Oct-2009

Qt: QSimpleImageViewer Example
This Qt C++ application demonstrates how to scale, load, and convert images and show them on the screen.

02-Oct-2009

Qt: QPlugin Example
This Qt C++ example application demonstrates how to extend an application with Qt plug-ins.

30-Sep-2009

Qt: QSharedMemory Example
This Qt C++ client/server application demonstrates how to share memory between processes.

29-Sep-2009

Qt: QSolitaire Game Example
This Qt example application is a cross-platform application based on the Qt Graphics View Framework and SVG graphics that runs in different Qt environments. Besides the S60 platform and Windows Vista, the updated example has been modified to support Qt for Maemo on the Nokia N900.

02-Sep-2009

Qt: Noughts and Crosses Game Example
This Qt example application is a Noughts and Crosses game that demonstrates a cross-platform application with a custom layout using QLayoutManager and style sheets for buttons. The application supports touch UI and keyboard. It has been designed to work on the S60 platform, Maemo, and Windows XP. The application has been tested to work on the latest Qt for S60 4.5.2 Tower release and Qt for Maemo on the Nokia N900. Important classes: QPushButton, QLayout.

10-Aug-2009

Qt for S60: QMemoryGame Example
This Qt C++ example application demonstrates how to implement the Qt UI on top of an existing Open C++ engine that was initially developed for the Open C++ Memory Game Example published on Forum Nokia. The example has been tested to work on S60 3rd Edition and 5th Edition devices with Qt for S60 4.5.2 Tower release. It supports both keypad and touch UI. Important classes: QGraphicsPixmapItem, QGraphicsScene, QMainWindow.

29-Jun-2009

Qt for S60: QFriendFeed Example
This Qt C++ example application is a social networking application that integrates to a FriendFeed microblogging engine (http://friendfeed.com/). QNetworkAccessManager is used to access the FriendFeed RESTful API to retrieve and post XML data which is parsed using the SAX parser. Though optimised for various S60 screen layouts and input mechanisms, the UI relies on Qt cross-platform UI components. Their appearance is modified using CSS style sheets. The application has been tested to work on S60 3rd Edition and S60 5th Edition devices, with touch UI and keypad, and with Qt for S60 version Tower 4.5.2. Cross-platform support has been verified on Windows XP.

29-Jun-2009

Qt for S60: QTabs Example
This Qt C++ application demonstrates how to implement a Qt for S60 application with tabs. Every tab has its own Options menu. Views (QWidgets) are stored in different tabs (QTabWidget). The application has a S60-style status and control pane and it supports screen orientation changes. The example has been tested to work on S60 3rd Edition and 5th Edition devices with Qt for S60 4.5.2 Tower release. Important classes: QTabWidget, QWidget, QMainWindow.

29-Jun-2009

Qt for S60: QStackedWidget Example
This Qt C++ application provides a method to implement multiple views in Qt for S60 applications (an alternative to using tabs). Views (QWidgets) are stored in a stack (QStackedWidget). On application startup, only the default view is created in the stack. To optimise memory consumption, the other views are not created until they are needed. Every view has its own Options menu and CBA buttons with view-specific commands. The example has been tested to work on S60 3rd Edition and 5th Edition devices with Qt for S60 4.5.2 Tower release. Important classes: QWidget, QStackedWidget, QMainWindow.

Rate This

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fToolsE5fE44ocsE5fandE5fCodeE2fCodeE5fE45E78amplesE2fE51tE2eE78htmlX qfnZupdatedQDx2009E2d05E2d13X qdcZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqfnTypeZE52esourceQ qdcZtypeQUqfnTypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZdistributionQUxhttpE3AE2FE2FforumE2EnokiaE2EcomE2FX qfnZtypeQUqfnTypeZE52esourceQ qfnZtypeQUqfnTypeZWebpageQ qmarsZlanguageQUxhttpE3AE2FE2FswE2EnokiaE2EcomE2FlanguageE2D1E2FenX qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqfnTypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqfnTypeZWebpageQ qrdfZtypeQUqrdfsZE52esourceQ qrdfZtypeQUqfnZE45E78cludedFromGeneralE4CistingsQ