Qt to WP7 - Chapter 8: Using the API Mapping Tool

Date: Monday, September 19, 2011, 5:40:05 PM

Tags: Qt

Table of Contents

< Back to Qt to WP7 Guide contents

What's the API Mapping tool

Windows Phone 7 API mapping tool helps developers find their way around when they discover the Windows Phone platform. Think of the API mapping tool as being like a translation dictionary. For example, let's say that you're planning a vacation to France. Since you don't speak the language, you'll bring a pocket travel dictionary. Having this tool will surely help you to get some idea about what you are ordering from a restaurant menu but you'll have no idea what the actual recipe is - nor will you be able to have a conversion in French with the server! But that's a great learning tool to make the first steps.

With this tool, developers can grab their apps, pick out the API calls, and quickly look up the equivalent classes, methods and notification events in WP7. A developer can search a given API call and find the equivalent WP7 along with links to the API documentations for both platforms. All WP7 API documentations are pulled in from the Silverlight, C# and XNA sources on MSDN.

How to use the tool

For this first iteration of the mapping, we've focused on the core libraries for Qt 4.7 for Symbian (QtCore, QtGui, QtLocation, QtNetwork, QtSensors, QtSql, QtXml, QtWebKit, QML Elements, QML Components).

Go to: http://wp7mapping.interoperabilitybridges.com/Library?source=Qt

And you start by simply browsing the tree on the left pane. One you've reached a mapped item, you'll see on the right pane the equivalent class/method/event with links to both Qt and Windows Phone 7 documentation.

Qt to Windows Phone API Mapping Tool: http://wp7mapping.interoperabilitybridges.com


What's next?

Of course, this is a work in progress, coverage will expand and more APIs will be mapped soon. So, please consider using the mapping tool in your porting efforts, and provide feedback on the dedicated forum, where you can also suggest new mapping APIs to include: http://wp7mapping.uservoice.com

< Back to Qt to WP7 Guide contents

blog comments powered by Disqus