Adding Nokia N9 Device Model to Qt Simulator
The Qt Simulator contains predefined configuration files for several Nokia devices. This article adds the Nokia N9 device model so you can test your application in a Simulator that looks like the Nokia N9.
Article Metadata
Code Example
Article
Contents |
How To
Just download this zip file Nokia N9 Device Model File:NokiaN9-Device Model.zip, Unzip it and put the “NokiaN9” folder into NokiaQtSDKInstallationDirectory/Simulator/Application/models path in your system like below screen shot.
So after copying this file to mentioned path, you can see “NokiaN9” device model as in screenshot after select it from View in Qt Simulator Control.
I modified the configuration file according to the Image of Nokia n9. Please note this Nokia N9 Device Model is for just fun. Its not having correct width and height that real Nokia N9 Device have. So you application may looks different on Simulator than on real device.
Also the Inner UI of this device model is not look like the real Meego N9 device nor have swipe functionality in this simulator model.
Screen Shots
Configuration file
I used below configuration file for this device model. Please note it having different resolution than real device.I also removed Symbian Buttons from Config file. You can make it more accurate by modifying the used images and correct resolution in config.file.
name:NokiaN9
resolutionWidth:420
resolutionHeight:721
diagonalInInch:3.9
mockup:N9.jpg
offsetX:38
offsetY:114
defaultFontSize:7
style:s60,nseriesblack
menuImage:topUp,N8_portrait.png
availableGeometry:topUp,0,102,405,548
menuImage:rightUp,N8_landscape.png
availableGeometry:rightUp,0,51,721,304
Download N9 Device Model
You can download Nokia N9 Device Model from File:NokiaN9-Device Model.zip.






Contents
Shosholoza - For Mac Os X or Linux
In linux or Mac Os X you must change "mockup:N9.jpg" into "mockup:n9.jpg" in the Config file ora change the name "n9.jpg" in "N9.jpg" into "NokiaN9" Folder.Shosholoza 00:19, 21 July 2011 (EEST)
Hamishwillee - Does this now exist by default?
Is the N9 now an option in the Qt simulator? If so, can we archive the article?hamishwillee 06:02, 2 March 2012 (EET)
Chintandave er - Re: Does this now exist by default?
Hi Hamish, No. AFAIK, Nokia N9 like Emulator is not available in Qt SDK. As MeeGo Harmattan has its different Emulator (not Qt Simulator). But Still I feel that this article is not that useful now.
Chintan.Chintandave er 13:29, 4 March 2012 (EET)
Markkyboy - Incorrect image for N9
The main image for the n9 has been created as a .jpg, when in fact, it should be .png extension. I discovered this when Simulator crashed after I selected Nokia N9.
MarkkyboyMarkkyboy 02:25, 17 October 2012 (EEST)