Qt - Getting started

Downloadthe right tools Create and test your code Deploy to a Symbian device Deploy to Nokia N9 Whereto go next

You have successfully created your first project in the Qt SDK and tested it in the Qt Simulator as well as on a Symbian phone or the Nokia N9. You can now continue with the following steps:

Examine the Qt Creator and Qt Simulator features

Even if you are familiar with the Qt Creator IDE, it's a good idea to open Help and navigate to Qt Creator. There you will find a comprehensive manual describing how to create and manage projects that enables you to create C++ and Qt Quick applications, and details on how to use Qt Designer to create UIs easily.

You can also learn how to use the advanced features of the Qt Simulator, by going to Qt Simulator section.

Learn Qt

Learning how to code Qt applications is easy, no matter which programming background you have. Qt Quick consists of a declarative QML language and JavaScript. QML syntax is easy and especially handy when developing UIs and using animations. Together with JavaScript for application logic it's fast to develop complete applications. However, in many cases C++ may be a better option, C++ programmers will find Qt it fast to learn as there are few Qt-specific idioms and coding conventions. To learn more about Qt Quick principles go to Help > Qt Reference Documentation > What is Qt > Qt Quick. To achieve a platform look and feel in Symbian and Harmattan, we recommend using Qt Quick Components (Components for Symbian / Components for Harmattan). Read more on the available components in the SDK documentation by going to Help > Qt Quick Components for Symbian.

Nokia also offers various self-learning resources — from training courses to e-learning modules — that are available on the Qt learning materials page. You can go even deeper with the Mobile hands-on labs these provide step-by-step instructions for configuration of the development environment and creation of applications using, for example, Qt Quick and Qt Mobility API. There are also useful videos available both on technical topics and business benefits.

Use Qt Reference Documentation to find information on available the APIs

When you are ready to start developing an application, API documentation is available for you in Qt Creator: go to Help > Qt Reference Documentation for comprehensive documentation, including tutorials and example applications.

Examine code examples

You may want to review the example applications to see how Qt can be used. A full set of Qt cross-platform examples is available in the <QtSDK_install_path >\Examples directory. In addition, a selection of advanced, mobile-optimised example applications is available for download on the Qt Code Examples. All example applications come with a full source that you can examine and utilise in your own applications.

Use mobile features

The Qt Mobility API provides a set of interfaces — such as Messaging, Contacts, and Location — to enable mobile use cases. The Mobility API is available in two flavours: as QML bindings, for easy access from a Qt Quick application, and as C++ APIs. For in-depth API documentation, go to Help > Qt Mobility Project Reference Documentation in Qt Creator. You can also check out the online documentation.

Expand with platform features

Even though the Qt APIs offer are a comprehensive set of features for richly functional applications targeted at the Symbian and MeeGo 1.2 Harmattan platforms, in some applications there may be a need for additional platform features that are not part of Qt or the Qt Mobility API. In these cases you have the option to use Symbian and Harmattan platform APIs from Qt Creator. Symbian C++ API documentation is available in Help > Symbian Reference Documentation for Qt. For Harmattan documentation, go to the MeeGo 1.2 Harmattan Developer Library.

Explore and share at Nokia Developer Projects

Nokia Developer Projects provides you with a place to host projects and tools. Projects provide for web-based project management using one of a number of version control systems, discussion forums, ticketing, and more. You can also explore other developers' projects, join and contribute to collaborative projects, and share ideas.

Explore Qt Projects ›

Explore Qt Quick Projects ›

Explore Qt Mobility Projects ›

Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2012 All rights reserved