×
Namespaces

Variants
Actions
Revision as of 04:48, 12 December 2011 by hamishwillee (Talk | contribs)

Qt and Windows Phone Toolchain Overview

From Nokia Developer Wiki
Jump to: navigation, search

This article demonstrates how to start with Windows Phone 7 development when you already know something of developing with Qt.

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 2014)
Last edited: hamishwillee (12 Dec 2011)

Contents

Introduction

This articles is intended to help Qt developers (on Symbian) to get started with Windows Phone 7 development tools. First 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.

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 App Hub 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.

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

×