×
Namespaces

Variants
Actions
(Difference between revisions)

Qt and Windows Phone Toolchain Overview

From Nokia Developer Wiki
Jump to: navigation, search
somnathbanik (Talk | contribs)
(Somnathbanik - - Windows Phone and Symbian Qt Development Tools)
hamishwillee (Talk | contribs)
m (Hamishwillee - Replace App Hub link with link to Dev Center.)
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Windows Phone]]
+
[[Category:Windows Phone]][[Category:Porting]][[Category:Qt]][[Category:MeeGo Harmattan]][[Category:Symbian]][[Category:Tools]]
{{Abstract|This article demonstrates how to start with Windows Phone 7 development from Symbain Qt.}}
+
{{Abstract|This article provides a high level comparative overview of the Windows Phone 7 and Qt SDKs and development toolchains.}} It is intended for Qt developers getting started with Windows Phone 7: it compares the WP7 and Qt development toolchain in order to gain a clear picture how to start WP7 development. Later it shows how to deploy apps on Windows Phone device, and demonstrates the usability of designing tools. 
{{ArticleMetaData
+
 
 +
{{ArticleMetaData <!-- v1.2 -->
 
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 
|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]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|devices= <!-- Devices tested against - e.g. ''devices=N95, N8'') -->
+
|devices= <!-- Devices tested against - e.g. ''devices=N95, N8'') -->
|sdk= [http://www.developer.nokia.com/Develop/Windows_Phone/Tools/ Windows Phone SDK 7.1]
+
|sdk= [http://www.developer.nokia.com/Develop/Windows_Phone/Tools/ Windows Phone SDK 7.1],  [http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html Qt SDK 1.1.3]
 
|platform= WP7.1 <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 
|platform= WP7.1 <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
|signing=<!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|capabilities=<!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
+
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 
|keywords= Windows Phone 7 Tools <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 
|keywords= Windows Phone 7 Tools <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
|id= <!-- Article Id (Knowledge base articles only) -->
+
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
|creationdate= 07th October,2011<!-- Format YYYYMMDD -->
+
|translated-by= <!-- [[User:XXXX]] -->
|author= [[User:somnathbanik]] <!-- Display as link [[User:username]] -->
+
|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= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20111007
 +
|author= [[User:Somnathbanik]]
 
}}
 
}}
==Introduction==
+
{{SeeAlso|[http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-symbian-qt-application-developers Windows Phone Interoperability]}}
In this article we will see how to start with Windows Phone 7 development tools, but this article is more helpful to those who are from Symbian Qt background. First we will compare both the tools and SDK of WP7 and Symbian Qt needed for development. This will give a clear picture how to start WP7 development from Symbian Qt. Later we will see how to deploy apps on WP device and usability of designing tools. We can say this article is a collection of information to start from Qt to WP7. 
+
+
 
+
  
 
==Windows Phone and Symbian Qt Development Tools==
 
==Windows Phone and Symbian Qt Development Tools==
 +
=== SDKs ===
 +
All the tools you need for Qt (Symbian and MeeGo Harmattan development) and Windows Phone 7 are available in their respective SDKs (WP developers may also wish to download the [http://silverlight.codeplex.com/releases/view/71550 Silverlight for Windows Phone Toolkit]).
  
[http://qt.nokia.com/products/developer-tools/ Qt Creator] is the IDE for Symbian Qt application development. The latest release of [https://www.developer.nokia.com/Develop/Qt/Tools/ Qt SDK 1.1.3] includes:
+
The current SDKs are listed below:
*Qt and Qt Mobility APIs for Symbian, MeeGo, desktop, and simulator targets
+
{{QtSDKLatestVersionAnnouncement}}
*Qt Quick with the Qt Quick Components and Qt Creator to provide a complete solution for UI development.
+
{{CurrentSDKAnnouncementWindowsPhone}}
*Qt Creator, Qt Simulator for easy and fast development. And many [https://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html more].
+
+
In WP7 [http://msdn.microsoft.com/en-us/library/ff630878%28v=vs.92%29.aspx Visual Studio 2010 Express for Windows Phone] is the IDE that has the feature of designing, developing and debugging of Windows Phone applications. We can download the complete set of tools and SDK from here, which inclulds
+
*[http://msdn.microsoft.com/en-us/library/cc296227.aspx Expression Blend]
+
*[http://msdn.microsoft.com/en-us/library/bb200104.aspx XNA Game Studio]
+
*[http://msdn.microsoft.com/en-us/library/ff402563%28v=VS.92%29.aspx Windows Phone Emulator]
+
*[http://silverlight.codeplex.com/releases/view/71550 Silverlight for Windows Phone Toolkit]
+
Both Symbian Qt and WP7 tools provides a similar kind of functionality in respective of development. The table below shows the common functionality handled differently  by the tools.
+
  
+
=== Tool chain ===
+
The Qt and WP7 toolchains offer similar functionality; both deliver an IDE, simulator for desktop environment and other tools for UI design and development. The table below shows the main elements of each toolchain.
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 42: Line 42:
 
| Developing Language|| Qt C++/QML || C#/XAML
 
| Developing Language|| Qt C++/QML || C#/XAML
 
|-
 
|-
| IDE || Qt Creator || Visual Studio 2010 Express
+
| IDE || [http://qt.nokia.com/products/developer-tools/ Qt Creator] || [http://msdn.microsoft.com/en-us/library/ff630878%28v=vs.92%29.aspx Visual Studio 2010 Express for Windows Phone]
 
|-
 
|-
| Emulation || Qt Simulator || Windows Phone Emulator
+
| Simulation || [http://doc.qt.nokia.com/qtsimulator-1.1/simulator-description.html Qt Simulator] || [http://msdn.microsoft.com/en-us/library/ff402563%28v=VS.92%29.aspx Windows Phone Emulator]
 
|-
 
|-
| UI Designer || Qt Quick Designer, Qt Designer || Expression Blend
+
| UI Design || Qt Quick Designer, Qt Designer (in IDE) || [http://msdn.microsoft.com/en-us/library/cc296227.aspx Expression Blend]
 +
|-
 +
| Other || || [http://msdn.microsoft.com/en-us/library/bb200104.aspx XNA Game Studio] for high performance games
 
|}
 
|}
     
 
[[File: QttoWP7.png|thumb|400px|none| Windows Phone 7 Tool-set for Development ]]
 
  
==Windows Phone UI Design and Testing Tools==
+
== UI Design and Testing Tools==
The UI design tools includes Visual Studio UI Designer Expression Blend
+
Qt developers create application UIs "graphically" in the Qt Creator IDE using the integrated Qt Quick Designer (or "manually" in text as QML is fairly human readable). Application business logic can often be developed within the Qt Quick QML files in JavaScript, or can be delivered as Qt C++ modules.
WP uses a specific XML  markup language called XAML for the UI representation. Visual Studio UI Designer for WP has a similar features compared to the Qt Quick Designer. Expression Blend for WP is a visual UI design tool that is suitable for designers. Qt Quick Designer and Qt Designer are equivalents to Expression Blend.
+
 
The WP Emulator provides a environment in which we can deploy, debug and test applications. The emulator provides a feel of the actual device and meets the peripheral specifications required for WP application development.
+
Windows Phone Silverlight application UIs are defined in a markup language called XAML. Most developers prefer to edit the XAML visually in Expression Blend then (seamlessly) edit the C# application logic in Visual Studio (anecdotally, while you can edit XAML in Visual Studio 2010 the tools are not as good). The tools are very good and you can do almost everything you need to "graphically" - which is a good thing because the XAML is not easy to read and there are huge numbers of configuration options. The toolchain also makes it very easy to create simulation data and to use it (only) while testing.
 +
 
 +
High performance games are created using XNA Game Studio, which provides less application framework than Silverlight's XAML, but more direct access to device hardware.
 +
 
 +
Both environments provide an effective Simulator which can access the Internet and provide simulation data to an application under test.
  
 
==Deploying applications to Windows Phone device and API Documentation==
 
==Deploying applications to Windows Phone device and API Documentation==
We need to register the windows phone device before we can deploy app on it using [http://msdn.microsoft.com/en-us/library/ff769508%28v=VS.92%29.aspx Developer Registration Tool]. For that we need a Windows Live ID and a valid [http://create.msdn.com/en-us/home/getting_started App Hub] developer account as a prerequisite. And make sure that [http://zune.net/en-US/products/software/download/default.htm Zune] is installed and running in the host computer where we have connected the device.  We can use Visual Studio for application deployment, but the device must be registered. To deploy application, just select target '''Windows Phone Device''' in Visual Studio Standard toolbar and then press '''F5''' to start deployment.  
+
Windows phone devices must be registered before apps can be deployed (using [http://msdn.microsoft.com/en-us/library/ff769508%28v=VS.92%29.aspx Developer Registration Tool]). For that we need a Windows Live ID and a valid [http://dev.windowsphone.com Dev Center] developer account as a prerequisite. And make sure that [http://zune.net/en-US/products/software/download/default.htm Zune] is installed and running in the host computer where we have connected the device.  We can use Visual Studio for application deployment, but the device must be registered. To deploy application, just select target '''Windows Phone Device''' in Visual Studio Standard toolbar and then press '''F5''' to start deployment.  
 +
 
 
See [http://msdn.microsoft.com/en-us/library/gg588378%28v=VS.92%29.aspx Deploying and testing on your Windows Phone] for more information about deploying applications to device. Like Qt Assistant in Symbian Qt, WP7 has [http://msdn.microsoft.com/en-us/ MSDN] for API documentation.  
 
See [http://msdn.microsoft.com/en-us/library/gg588378%28v=VS.92%29.aspx Deploying and testing on your Windows Phone] for more information about deploying applications to device. Like Qt Assistant in Symbian Qt, WP7 has [http://msdn.microsoft.com/en-us/ MSDN] for API documentation.  
 
   
 
   
Related Topic on Qt to WP7
+
==Related Topic on Qt to WP7==
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-1-introducing-windows-phone-platform-to-symbian-qt-application-developers Introducing Windows Phone Platform to Symbian Qt Application Developers]
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-1-introducing-windows-phone-platform-to-symbian-qt-application-developers Introducing Windows Phone Platform to Symbian Qt Application Developers]
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-2-windows-phone-application-design-guidelines Windows Phone Application Design Guidelines]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-2-windows-phone-application-design-guidelines Windows Phone Application Design Guidelines]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-3-windows-phone-developer-and-designer-tools Windows Phone Developer and Designer Tools]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-3-windows-phone-developer-and-designer-tools Windows Phone Developer and Designer Tools]  
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-4-c-programming Chapter 4: C# programming]  
+
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-4-c-programming C# programming]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-5-introducing-windows-phone-application-life-cycle Introducing Windows Phone Application Life Cycle]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-5-introducing-windows-phone-application-life-cycle Introducing Windows Phone Application Life Cycle]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-6-porting-applications-to-windows-phone Porting Applications to Windows Phone]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-6-porting-applications-to-windows-phone Porting Applications to Windows Phone]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-7-windows-phone-example-applications Windows Phone Example Applications]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-7-windows-phone-example-applications Windows Phone Example Applications]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-8-using-the-api-mapping-tool Using the API Mapping Tool]  
 
*[http://windowsphone.interoperabilitybridges.com/articles/qt-to-wp7-chapter-8-using-the-api-mapping-tool Using the API Mapping Tool]  
+
 
+
{{Note| This article has been created from the reference '''Windows Phone Interoperability''' by Microsoft and Nokia. You can find more information [http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-symbian-qt-application-developers here].}}
+
{{Note| This article has been created from [http://windowsphone.interoperabilitybridges.com/articles/windows-phone-7-guide-for-symbian-qt-application-developers Windows Phone 7 Guide for Symbian Qt Application Developers] as a reference}}
+

Revision as of 08:41, 8 August 2012

This article provides a high level comparative overview of the Windows Phone 7 and Qt SDKs and development toolchains. It is intended for Qt developers getting started with Windows Phone 7: it compares the WP7 and Qt development toolchain in order to gain a clear picture how to start WP7 development. Later it shows how to deploy apps on Windows Phone device, and demonstrates the usability of designing tools.

WP Metro Icon Porting.png
SignpostIcon WP7 70px.png
Article Metadata
Tested withCompatibility
Platform(s): WP7.1
Windows Phone 7.5
Symbian
Article
Keywords: Windows Phone 7 Tools
Created: somnathbanik (07 Oct 2011)
Last edited: hamishwillee (08 Aug 2012)

Contents

Windows Phone and Symbian Qt Development Tools

SDKs

All the tools you need for Qt (Symbian and MeeGo Harmattan development) and Windows Phone 7 are available in their respective SDKs (WP developers may also wish to download the Silverlight for Windows Phone Toolkit).

The current SDKs are listed below:

Announcements.png (14 Feb 2014): See Qt#Qt_SDK for current information about Qt SDKs.

Announcements.pngNokia Original Imaging Effect Wiki Challenge (02 Aug 2014): Congratulations to Lee McPherson,Yassine Serhane, Venu Kumar,Sebastiano Galazzo, Rodrigo Díaz Tajada, Oliver Ulm, Kenneth Kau, and Philip Taffet for writing winning articles in the Nokia Original Imaging Effect Wiki Challenge. There were so many good effects that it was difficult to choose. Thank you to all who participated.

Tool chain

The Qt and WP7 toolchains offer similar functionality; both deliver an IDE, simulator for desktop environment and other tools for UI design and development. The table below shows the main elements of each toolchain.

Features Symbian Qt Windows Phone 7
Developing Language Qt C++/QML C#/XAML
IDE Qt Creator Visual Studio 2010 Express for Windows Phone
Simulation Qt Simulator Windows Phone Emulator
UI Design Qt Quick Designer, Qt Designer (in IDE) Expression Blend
Other XNA Game Studio for high performance games

UI Design and Testing Tools

Qt developers create application UIs "graphically" in the Qt Creator IDE using the integrated Qt Quick Designer (or "manually" in text as QML is fairly human readable). Application business logic can often be developed within the Qt Quick QML files in JavaScript, or can be delivered as Qt C++ modules.

Windows Phone Silverlight application UIs are defined in a markup language called XAML. Most developers prefer to edit the XAML visually in Expression Blend then (seamlessly) edit the C# application logic in Visual Studio (anecdotally, while you can edit XAML in Visual Studio 2010 the tools are not as good). The tools are very good and you can do almost everything you need to "graphically" - which is a good thing because the XAML is not easy to read and there are huge numbers of configuration options. The toolchain also makes it very easy to create simulation data and to use it (only) while testing.

High performance games are created using XNA Game Studio, which provides less application framework than Silverlight's XAML, but more direct access to device hardware.

Both environments provide an effective Simulator which can access the Internet and provide simulation data to an application under test.

Deploying applications to Windows Phone device and API Documentation

Windows phone devices must be registered before apps can be deployed (using Developer Registration Tool). For that we need a Windows Live ID and a valid Dev Center developer account as a prerequisite. And make sure that Zune is installed and running in the host computer where we have connected the device. We can use Visual Studio for application deployment, but the device must be registered. To deploy application, just select target Windows Phone Device in Visual Studio Standard toolbar and then press F5 to start deployment.

See Deploying and testing on your Windows Phone for more information about deploying applications to device. Like Qt Assistant in Symbian Qt, WP7 has MSDN for API documentation.

Related Topic on Qt to WP7

Note.pngNote: This article has been created from the reference Windows Phone Interoperability by Microsoft and Nokia. You can find more information here.

196 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.

×