Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

(Difference between revisions)

Qt

From Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Text replace - "Category:MeeGo" to "Category:MeeGo Harmattan")
huellif (Talk | contribs)
(Huellif -)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Qt]][[Category:Glossary]]
+
[[Category:Qt]][[Category:MeeGo Harmattan]][[Category:Symbian]]
{{Abstract|Qt (pronounced "cute") is a cross-platform application and UI framework. It is the recommended development framework for app developers targeting [[:Category:Symbian|Symbian]] devices and the MeeGo based [http://www.developer.nokia.com/Devices/MeeGo/ Nokia N9]. Qt is also available for Windows, Mac OS, Linux/X11, Windows CE, Embedded Linux.}}
+
{{Warning|The Symbian Signed program closed on January 1, 2014 and it is no longer possible to publish Qt apps (or other content) for Symbian and MeeGo on Nokia Store. It is possible to self-sign content for basic capabilities and continue to use existing DevCerts. For more information see this [http://developer.nokia.com/Blogs/News/blog/2013/10/04/changes-to-supported-content-types-in-the-nokia-store/ blog].}}
{{ArticleMetaData <!-- v1.2 -->
+
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
+
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
+
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
+
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
+
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
+
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
+
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
+
|translated-by= <!-- [[User:XXXX]] -->
+
|translated-from-title= <!-- Title only -->
+
|translated-from-id= <!-- Id of translated revision -->
+
|review-by= <!-- After re-review: [[User:username]] -->
+
|review-timestamp= <!-- After re-review: YYYYMMDD -->
+
|update-by= [[User:hamishwillee]]
+
|update-timestamp= 20111122
+
|creationdate= 20081028
+
|author= [[User:Hartti]]
+
}}
+
__NOEDITSECTION__
+
Qt provides a number of technologies for application and UI developement. Nokia recommend [[:Category:Qt Quick|Qt Quick]] (a declarative language) for UI development on mobile platforms along with [[:Category:Qt Mobility|Qt Mobility]] for accessing use cases that are more important in mobile devices.
+
  
There are many excellent resources for Qt developers both on this site and elsewhere:
+
Qt is the recommended native framework creating apps for Symbian and Meego Harmattan (Nokia N9). You will find that Qt greatly reduces your coding effort, through intuitive APIs that deliver more functionality from less code. When it comes to your app's UI, the declarative, JavaScript-like QML language within Qt Quick and tools such as Qt Quick Components enable you to create compelling UIs faster than you thought possible. And better still, you only need one core code-base to address the 180 million Qt-powered Symbian and Nokia N9 phones in consumers hands today. Qt enables code reuse that allows you to build and deploy versions of your apps for desktop platforms too. And you will find all of this is possible without compromising your apps performance because Qt is a framework, not a runtime.
* Nokia Developer
+
 
** [[Qt SDK]]
+
This article provides a getting started tutorial, along with links to related documentation, examples, and other resources.
** [http://www.developer.nokia.com/Develop/Qt/ Site resources]
+
 
** [[:Category:Qt]] (Nokia Developer wiki)
+
== Documentation ==
** [http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?219-Qt Qt Discussion boards]
+
 
* [http://developer.qt.nokia.com/ qt.nokia.com]
+
In addition to the API documentation in Qt Creator ('''Help > Qt Reference Documentation'''), see the other relevant documentation resources:
* http://wiki.maemo.org/Qt
+
* [http://doc.qt.digia.com/sdk-1.2/index.html Qt SDK 1.2 Documentation] (doc.qt.digia.com) - this is the latest release compatible with Symbian and MeeGo Harmattan devices
* [http://developer.qt.nokia.com/static/community_resources/ Other developer community resources]
+
* [http://api.devpda.net/meego/html/guide/html/Developer_Library_MeeGo_1.2_Harmattan_Developer_Library.html Meego 1.2 Harmattan Developer Documentation]
** [http://www.qtcentre.org/content/?s=c82a18baf7eb3b1d9e29f0fc7a53a7af www.qtcentre.org][[Category:MeeGo Harmattan]] [[Category:Symbian]]
+
* [[:Category:Qt]] (Wiki)
 +
** [[Platform Security]]
 +
 
 +
== Download ==
 +
 
 +
* [http://jenkins.taulabs.org/distfiles/QtSdk-offline-win-x86-v1.2.1.exe QtSDK - Offline for Windows x86 v1.2.1]
 +
* [http://jenkins.taulabs.org/distfiles/QtSdk-offline-mac-x86-v1.2.1.dmg QtSDK - Offline for OSX x86 v1.2.1]
 +
* [http://jenkins.taulabs.org/distfiles/QtSdk-offline-linux-x86_64-v1.2.1.run QtSDK - Offline for Linux x64 v1.2.1]
 +
* [http://jenkins.taulabs.org/distfiles/QtSdk-offline-linux-x86-v1.2.1.run QtSDK - Offline for Linux x86 v1.2.1]
 +
 
 +
== Code Examples ==
 +
* [[Portal:Qt Code Examples]] (Community contributed articles with code)
 +
 
 +
 
 +
== 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'''.
 +
 
 +
There are also heaps of useful resources at http://qt.digia.com/
 +
 
 +
<h3>Use Qt Reference Documentation to find information on available the APIs</h3>
 +
 
 +
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.
 +
 
 +
 
 +
<h3>Examine code examples</h3>
 +
 
 +
A full set of Qt cross-platform examples is available in the <QtSDK_install_path >\Examples directory.  All example applications come with a full source that you can examine and utilise in your own applications.
 +
 
 +
In addition, there are a large number of community-contributed articles with code: [[Portal:Qt Code Examples]]
 +
 
 +
<h3>Use mobile features</h3>
 +
 
 +
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.
 +
 
 +
<h3>Expand with platform features</h3>
 +
 
 +
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 [http://api.devpda.net/meego/html/guide/html/Developer_Library_MeeGo_1.2_Harmattan_Developer_Library.html MeeGo 1.2 Harmattan Developer Library].
 +
 
 +
<h3> Community support </h3>
 +
 
 +
Visit the Qt [http://developer.nokia.com/community/discussion/forumdisplay.php/219 discussion boards] for community support.
 +
 
 +
<!-- end of tabber -->

Latest revision as of 14:21, 20 May 2014

Warning.pngWarning: The Symbian Signed program closed on January 1, 2014 and it is no longer possible to publish Qt apps (or other content) for Symbian and MeeGo on Nokia Store. It is possible to self-sign content for basic capabilities and continue to use existing DevCerts. For more information see this blog.

Qt is the recommended native framework creating apps for Symbian and Meego Harmattan (Nokia N9). You will find that Qt greatly reduces your coding effort, through intuitive APIs that deliver more functionality from less code. When it comes to your app's UI, the declarative, JavaScript-like QML language within Qt Quick and tools such as Qt Quick Components enable you to create compelling UIs faster than you thought possible. And better still, you only need one core code-base to address the 180 million Qt-powered Symbian and Nokia N9 phones in consumers hands today. Qt enables code reuse that allows you to build and deploy versions of your apps for desktop platforms too. And you will find all of this is possible without compromising your apps performance because Qt is a framework, not a runtime.

This article provides a getting started tutorial, along with links to related documentation, examples, and other resources.

Contents

[edit] Documentation

In addition to the API documentation in Qt Creator (Help > Qt Reference Documentation), see the other relevant documentation resources:

[edit] Download

[edit] Code Examples


[edit] 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.

There are also heaps of useful resources at http://qt.digia.com/

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

A full set of Qt cross-platform examples is available in the <QtSDK_install_path >\Examples directory. All example applications come with a full source that you can examine and utilise in your own applications.

In addition, there are a large number of community-contributed articles with code: Portal:Qt Code Examples

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.

Community support

Visit the Qt discussion boards for community support.


This page was last modified on 20 May 2014, at 14:21.
2748 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×