SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
Shipping mobile applications using
              Qt for Symbian


              Espen Riskedal
              Teamlead - Qt for Symbian


Company Confidential
1
Agenda

• Developing applications using Qt Creator
• Building and deploying to your phone
• Signing the application with Symbian Signed
• Getting it on the OVI store and more




Company Confidential
2
About me

• Trolltech since 2002
• Qt developer (Linux mostly)
• Qt release manager (3.1.x – 4.1.x)
• Teamlead Qt for Windows CE
• Teamlead Qt for Symbian
• Enjoyed the pool yesterday




Company Confidential
3
Who is Qt and what is he doing on my
                mobile phone?




Company Confidential
4
Who is Symbian and what is he doing on
                my mobile phone?

                             • Symbian smartphone market share
                                • APAC 80%
                                • EMEA 60%
                                • Latin America with 40%
                                • US nothing :D
                                • Canalys Smart Phone Analysis, 2008
                                  and Q109 shipment estimates.
                                • Yes it's «old» numbers but I couldn't
                                  be bothered to google more



Company Confidential
5
Installing Qt

• Install needed tools for normal
  S60/Symbian development
• Install Qt SDK for Windows
     • Includes Qt Creator
     • Includes Qt for Windows
• Install Qt for Symbian




Company Confidential
6
Developing with Qt Creator




                       • <do simple app dev in Creator>
Company Confidential
7
Compiling for your phone

• Setup the S60/Symbian SDK (if not auto-detected)
• Change the Default Qt version
     • or
• Add another build configuration




Company Confidential
8
Deploying to your phone: CMD

• Open Qt for Symbian Command Prompt
• set QT_SIS_OPTIONS=-i
• make sis




Company Confidential
9
Deploying to your phone: IDE
                  • Enter Projects Mode in Qt Creator:




                                                         •Experimental
                                                         •USB only
                                                         •App TRK needed




Company Confidential
10
Debugging on your phone

• Use Carbide
     • or
• Wait for Qt office in Berlin to fix it in Qt Creator :D




Company Confidential
11
BossaTetrix

• Stolen from examples/widgets/tetrix
• Massaged it to fit a smaller screen
• Added a some simple gesture hacks
     • Coming versions of Symbian will
       have multitouch and Qt already
       supports this




Company Confidential
12
BossaTetrix: Gesture hack
      void TetrixBoard::mouseReleaseEvent(QMouseEvent *event) {
          if (event->button() == Qt::LeftButton) {
              QPoint movement = event->pos() - mousePressedPosition;

                  int length = movement.manhattanLength();

                  int angle = atan2(qreal(movement.y()),qreal(movement.x()))*180/PI;

                  ... show in Qt Creator ...




Company Confidential
13
BossaTetrix: In action




Company Confidential
14
The Symbian security model

• Capabilities
     • Encoded in the .dll or .exe
     • Around 20 of them
     • A calling .dll or .exe must have the same or less capabilities
• Certificates
     • Digital pair of a key and a certificate that can sign a .sis file
     • Examples: Self-signed, RnD Signed, Symbian Signed, Nokia Signed
• Phone
     • Has a mapping between certificates and capabilites
     • Self-signed usually only grants 5 capabilites
     • Symbian Signed can grant many more across all Symbian devices


Company Confidential
15
Express Signed: Why bother?

• The good
     • Less prompts
     • Proves the software is genuine
     • Grants more capabilites
     • Works on all Symbian devices
• The bad
     • Costs money
     • Hard to automate




Company Confidential
16
Express Signed: Set the UID3

• Sign up at symbiansigned.com
     • Free
• Reserve a UID for your application (0x2... protected range)
     • Free
• Edit your .pro file to use it
     • symbian: TARGET.UID3 = 0x2...
• Rebuild project
     • qmake
     • make release-gcce




Company Confidential
17
Express Signed: Publisher ID

• Get a PublisherID at www.trustcenter.de
     • Costs 200USD
     • Convert the .p12 to a .cer and a .key
• Sign the .sis file with the PublisherID
     • QT_SIS_CERTIFICATE=c:fooyour_publisherid.cer
     • QT_SIS_KEY=c:fooyour_publisherid.key
     • make sis




Company Confidential
18
Express Signed: Uploading

• Zip the .sis together with a readme.txt
     • One line explaining what the .sis is
• Buy a ContentID
     • Costs 10USD
• Upload the .zip and Express Sign it
     • Fill in the form
     • Say «PASS» on all answers
     • Wait 5 minutes




Company Confidential
19
How the Smart Installer works




Company Confidential
20
Smart Installer and Qt

• Install the Nokia Smart Installer 0.9 (beta) on top of Qt 4.6.2 for Symbian
• Change UID of foo_installer.pkg to:
     • #{"foo installer"},(0x2002CCCF),1,0,0
• Create the wrapper .sis:
     • make installer_sis
• Zip the wrapper .sis file with a readme.txt and Express Sign it
     • Costs another 10USD at the moment




Company Confidential
21
Content of «Smart» application




Company Confidential
22
«Smart» Qt application in action




Company Confidential
23
Getting on the OVI store

• Sign up as an OVI Publisher
     • Costs 50€
     • Wait for approval
• Upload application
     • Must be Express Signed
     • Add thumbnails
     • Set price/free
     • Check the «Qt» button (coming)
• Wait for approval
     • Praying is optional
• Profit and/or fame!

Company Confidential
24
I want to get on all the stores!

• http://horizon.symbian.org/
     • Ovi Store by Nokia
     • Samsung Applications Store
     • AT&T’s Media Mall
     • China Mobile
     • Handango
     • Orange
     • Sony Ericsson’s Playnow


                                     http://horizon.symbian.or
                                     g


Company Confidential
25
BossaTetrix download


                 http://bit.ly/espenbossatalk




Company Confidential
26
Summary

• Install Qt SDK for Windows
• Install Qt for Symbian
     • Get both at: http://qt.nokia.com/
• Install Nokia Smart Installer (still in beta) on top
• Express Sign it
• Upload to OVI
     • OVI Store is ready for Qt apps once Smart Installer is completed




Company Confidential
27
Thanks! Any questions?



           •Email: espen.riskedal@nokia.com
           •Twitter: @snowpong




Company Confidential
28

Más contenido relacionado

La actualidad más candente

Mp25: Mobile dev with QT and Python for the Notorious N9
Mp25: Mobile dev with QT and Python for the Notorious N9Mp25: Mobile dev with QT and Python for the Notorious N9
Mp25: Mobile dev with QT and Python for the Notorious N9
Montreal Python
 
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
DALEZ
 

La actualidad más candente (20)

Qt - for stack overflow developer conference
Qt - for stack overflow developer conferenceQt - for stack overflow developer conference
Qt - for stack overflow developer conference
 
Qt everywhere
Qt everywhereQt everywhere
Qt everywhere
 
Nokia Qt SDK in action - Qt developer days 2010
Nokia Qt SDK in action - Qt developer days 2010Nokia Qt SDK in action - Qt developer days 2010
Nokia Qt SDK in action - Qt developer days 2010
 
Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...
Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...
Qt App Development - Cross-Platform Development for Android, iOS, Windows Pho...
 
Qt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn StrippedQt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn Stripped
 
Using Qt to Build Mobile Applications Featuring Social Networking and Monetiz...
Using Qt to Build Mobile Applications Featuring Social Networking and Monetiz...Using Qt to Build Mobile Applications Featuring Social Networking and Monetiz...
Using Qt to Build Mobile Applications Featuring Social Networking and Monetiz...
 
Mp25: Mobile dev with QT and Python for the Notorious N9
Mp25: Mobile dev with QT and Python for the Notorious N9Mp25: Mobile dev with QT and Python for the Notorious N9
Mp25: Mobile dev with QT and Python for the Notorious N9
 
Qt as Developer Platform @ MoMo Tallinn 11.04.11
Qt as Developer Platform @ MoMo Tallinn 11.04.11Qt as Developer Platform @ MoMo Tallinn 11.04.11
Qt as Developer Platform @ MoMo Tallinn 11.04.11
 
Dominik Gusenbauer Qt Mobility
Dominik Gusenbauer  Qt MobilityDominik Gusenbauer  Qt Mobility
Dominik Gusenbauer Qt Mobility
 
S60 - Over the air
S60 - Over the airS60 - Over the air
S60 - Over the air
 
Qt For Maemo - getting to the fast-lane (v2)
Qt For Maemo - getting to the fast-lane (v2)Qt For Maemo - getting to the fast-lane (v2)
Qt For Maemo - getting to the fast-lane (v2)
 
Driving Down Automotive Costs for Richer HMIs with Qt & i.MX RT1170
Driving Down Automotive Costs for Richer HMIs with Qt & i.MX RT1170Driving Down Automotive Costs for Richer HMIs with Qt & i.MX RT1170
Driving Down Automotive Costs for Richer HMIs with Qt & i.MX RT1170
 
Nokia Developer Offering Update
Nokia Developer Offering UpdateNokia Developer Offering Update
Nokia Developer Offering Update
 
Introduction to Qt programming
Introduction to Qt programmingIntroduction to Qt programming
Introduction to Qt programming
 
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
Forum Nokia Dev. Camp - WRT training Paris_17&18 Nov.
 
QtWS15 Revolutionizing Automotive with Qt
QtWS15 Revolutionizing Automotive with QtQtWS15 Revolutionizing Automotive with Qt
QtWS15 Revolutionizing Automotive with Qt
 
Nicholas Foo
Nicholas FooNicholas Foo
Nicholas Foo
 
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows PhoneWinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
WinJS, Apache Cordova & NFC - HTML5 apps for Android and Windows Phone
 
GENIVI Development Platform, la plataforma para desarrolladores de software l...
GENIVI Development Platform, la plataforma para desarrolladores de software l...GENIVI Development Platform, la plataforma para desarrolladores de software l...
GENIVI Development Platform, la plataforma para desarrolladores de software l...
 
Modern microcontroller (mcu) application development with qt
Modern microcontroller (mcu) application development with qtModern microcontroller (mcu) application development with qt
Modern microcontroller (mcu) application development with qt
 

Similar a Shipping Mobile Applications Using Qt for Symbian

Srikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latestSrikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latest
Srikanth Pilli
 

Similar a Shipping Mobile Applications Using Qt for Symbian (20)

Mobile Development with Qt for Symbian
Mobile Development with Qt for SymbianMobile Development with Qt for Symbian
Mobile Development with Qt for Symbian
 
Symbian OS
Symbian OSSymbian OS
Symbian OS
 
DEF CON 27 - workshop - RICHARD GOLD - mind the gap
DEF CON 27 - workshop - RICHARD GOLD - mind the gapDEF CON 27 - workshop - RICHARD GOLD - mind the gap
DEF CON 27 - workshop - RICHARD GOLD - mind the gap
 
Ci for i-os-codemash-01.2013
Ci for i-os-codemash-01.2013Ci for i-os-codemash-01.2013
Ci for i-os-codemash-01.2013
 
Automation in iOS development
Automation in iOS developmentAutomation in iOS development
Automation in iOS development
 
Develop Your Own Bitcoin Wallet App
Develop Your Own Bitcoin Wallet AppDevelop Your Own Bitcoin Wallet App
Develop Your Own Bitcoin Wallet App
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual Studio
 
Troubles in Kubernetes Land: Vault to the Rescue
Troubles in Kubernetes Land: Vault to the RescueTroubles in Kubernetes Land: Vault to the Rescue
Troubles in Kubernetes Land: Vault to the Rescue
 
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...
 
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...
GitLab Remote Meetup:  Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...GitLab Remote Meetup:  Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & ...
 
Serverless and you - where do i run my stateless code
Serverless and you  - where do i run my stateless codeServerless and you  - where do i run my stateless code
Serverless and you - where do i run my stateless code
 
Nokia Symbian
Nokia SymbianNokia Symbian
Nokia Symbian
 
Radu vunvulea building and testing windows 8 metro style applications using ...
Radu vunvulea  building and testing windows 8 metro style applications using ...Radu vunvulea  building and testing windows 8 metro style applications using ...
Radu vunvulea building and testing windows 8 metro style applications using ...
 
Kivy report
Kivy reportKivy report
Kivy report
 
Bill volk
Bill volkBill volk
Bill volk
 
Meet qt intro
Meet qt introMeet qt intro
Meet qt intro
 
Meet qt intro
Meet qt introMeet qt intro
Meet qt intro
 
Srikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latestSrikanth_PILLI_CV_latest
Srikanth_PILLI_CV_latest
 
Embedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphoneEmbedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphone
 
C# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataformaC# no bolso - desenvolvendo apps multiplataforma
C# no bolso - desenvolvendo apps multiplataforma
 

Más de account inactive

Más de account inactive (20)

The Future of Qt Widgets
The Future of Qt WidgetsThe Future of Qt Widgets
The Future of Qt Widgets
 
Scripting Your Qt Application
Scripting Your Qt ApplicationScripting Your Qt Application
Scripting Your Qt Application
 
Special Effects with Qt Graphics View
Special Effects with Qt Graphics ViewSpecial Effects with Qt Graphics View
Special Effects with Qt Graphics View
 
Developments in The Qt WebKit Integration
Developments in The Qt WebKit IntegrationDevelopments in The Qt WebKit Integration
Developments in The Qt WebKit Integration
 
Qt Kwan-Do
Qt Kwan-DoQt Kwan-Do
Qt Kwan-Do
 
Qt on Real Time Operating Systems
Qt on Real Time Operating SystemsQt on Real Time Operating Systems
Qt on Real Time Operating Systems
 
Development with Qt for Windows CE
Development with Qt for Windows CEDevelopment with Qt for Windows CE
Development with Qt for Windows CE
 
Translating Qt Applications
Translating Qt ApplicationsTranslating Qt Applications
Translating Qt Applications
 
Qt Creator Bootcamp
Qt Creator BootcampQt Creator Bootcamp
Qt Creator Bootcamp
 
Qt Widget In-Depth
Qt Widget In-DepthQt Widget In-Depth
Qt Widget In-Depth
 
Qt State Machine Framework
Qt State Machine FrameworkQt State Machine Framework
Qt State Machine Framework
 
How to Make Your Qt App Look Native
How to Make Your Qt App Look NativeHow to Make Your Qt App Look Native
How to Make Your Qt App Look Native
 
Animation Framework: A Step Towards Modern UIs
Animation Framework: A Step Towards Modern UIsAnimation Framework: A Step Towards Modern UIs
Animation Framework: A Step Towards Modern UIs
 
Using Multi-Touch and Gestures with Qt
Using Multi-Touch and Gestures with QtUsing Multi-Touch and Gestures with Qt
Using Multi-Touch and Gestures with Qt
 
Debugging Qt, Fixing and Contributing a Bug Report (Using Gitorious)
Debugging Qt, Fixing and Contributing a Bug Report (Using Gitorious)Debugging Qt, Fixing and Contributing a Bug Report (Using Gitorious)
Debugging Qt, Fixing and Contributing a Bug Report (Using Gitorious)
 
The Mobility Project
The Mobility ProjectThe Mobility Project
The Mobility Project
 
Copy Your Favourite Nokia App with Qt
Copy Your Favourite Nokia App with QtCopy Your Favourite Nokia App with Qt
Copy Your Favourite Nokia App with Qt
 
The Next Generation Qt Item Views
The Next Generation Qt Item ViewsThe Next Generation Qt Item Views
The Next Generation Qt Item Views
 
Optimizing Performance in Qt-Based Applications
Optimizing Performance in Qt-Based ApplicationsOptimizing Performance in Qt-Based Applications
Optimizing Performance in Qt-Based Applications
 
Case Study: Using Qt to Develop Advanced GUIs & Advanced Visualization Software
Case Study: Using Qt to Develop Advanced GUIs & Advanced Visualization SoftwareCase Study: Using Qt to Develop Advanced GUIs & Advanced Visualization Software
Case Study: Using Qt to Develop Advanced GUIs & Advanced Visualization Software
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Shipping Mobile Applications Using Qt for Symbian

  • 1. Shipping mobile applications using Qt for Symbian Espen Riskedal Teamlead - Qt for Symbian Company Confidential 1
  • 2. Agenda • Developing applications using Qt Creator • Building and deploying to your phone • Signing the application with Symbian Signed • Getting it on the OVI store and more Company Confidential 2
  • 3. About me • Trolltech since 2002 • Qt developer (Linux mostly) • Qt release manager (3.1.x – 4.1.x) • Teamlead Qt for Windows CE • Teamlead Qt for Symbian • Enjoyed the pool yesterday Company Confidential 3
  • 4. Who is Qt and what is he doing on my mobile phone? Company Confidential 4
  • 5. Who is Symbian and what is he doing on my mobile phone? • Symbian smartphone market share • APAC 80% • EMEA 60% • Latin America with 40% • US nothing :D • Canalys Smart Phone Analysis, 2008 and Q109 shipment estimates. • Yes it's «old» numbers but I couldn't be bothered to google more Company Confidential 5
  • 6. Installing Qt • Install needed tools for normal S60/Symbian development • Install Qt SDK for Windows • Includes Qt Creator • Includes Qt for Windows • Install Qt for Symbian Company Confidential 6
  • 7. Developing with Qt Creator • <do simple app dev in Creator> Company Confidential 7
  • 8. Compiling for your phone • Setup the S60/Symbian SDK (if not auto-detected) • Change the Default Qt version • or • Add another build configuration Company Confidential 8
  • 9. Deploying to your phone: CMD • Open Qt for Symbian Command Prompt • set QT_SIS_OPTIONS=-i • make sis Company Confidential 9
  • 10. Deploying to your phone: IDE • Enter Projects Mode in Qt Creator: •Experimental •USB only •App TRK needed Company Confidential 10
  • 11. Debugging on your phone • Use Carbide • or • Wait for Qt office in Berlin to fix it in Qt Creator :D Company Confidential 11
  • 12. BossaTetrix • Stolen from examples/widgets/tetrix • Massaged it to fit a smaller screen • Added a some simple gesture hacks • Coming versions of Symbian will have multitouch and Qt already supports this Company Confidential 12
  • 13. BossaTetrix: Gesture hack void TetrixBoard::mouseReleaseEvent(QMouseEvent *event) { if (event->button() == Qt::LeftButton) { QPoint movement = event->pos() - mousePressedPosition; int length = movement.manhattanLength(); int angle = atan2(qreal(movement.y()),qreal(movement.x()))*180/PI; ... show in Qt Creator ... Company Confidential 13
  • 15. The Symbian security model • Capabilities • Encoded in the .dll or .exe • Around 20 of them • A calling .dll or .exe must have the same or less capabilities • Certificates • Digital pair of a key and a certificate that can sign a .sis file • Examples: Self-signed, RnD Signed, Symbian Signed, Nokia Signed • Phone • Has a mapping between certificates and capabilites • Self-signed usually only grants 5 capabilites • Symbian Signed can grant many more across all Symbian devices Company Confidential 15
  • 16. Express Signed: Why bother? • The good • Less prompts • Proves the software is genuine • Grants more capabilites • Works on all Symbian devices • The bad • Costs money • Hard to automate Company Confidential 16
  • 17. Express Signed: Set the UID3 • Sign up at symbiansigned.com • Free • Reserve a UID for your application (0x2... protected range) • Free • Edit your .pro file to use it • symbian: TARGET.UID3 = 0x2... • Rebuild project • qmake • make release-gcce Company Confidential 17
  • 18. Express Signed: Publisher ID • Get a PublisherID at www.trustcenter.de • Costs 200USD • Convert the .p12 to a .cer and a .key • Sign the .sis file with the PublisherID • QT_SIS_CERTIFICATE=c:fooyour_publisherid.cer • QT_SIS_KEY=c:fooyour_publisherid.key • make sis Company Confidential 18
  • 19. Express Signed: Uploading • Zip the .sis together with a readme.txt • One line explaining what the .sis is • Buy a ContentID • Costs 10USD • Upload the .zip and Express Sign it • Fill in the form • Say «PASS» on all answers • Wait 5 minutes Company Confidential 19
  • 20. How the Smart Installer works Company Confidential 20
  • 21. Smart Installer and Qt • Install the Nokia Smart Installer 0.9 (beta) on top of Qt 4.6.2 for Symbian • Change UID of foo_installer.pkg to: • #{"foo installer"},(0x2002CCCF),1,0,0 • Create the wrapper .sis: • make installer_sis • Zip the wrapper .sis file with a readme.txt and Express Sign it • Costs another 10USD at the moment Company Confidential 21
  • 22. Content of «Smart» application Company Confidential 22
  • 23. «Smart» Qt application in action Company Confidential 23
  • 24. Getting on the OVI store • Sign up as an OVI Publisher • Costs 50€ • Wait for approval • Upload application • Must be Express Signed • Add thumbnails • Set price/free • Check the «Qt» button (coming) • Wait for approval • Praying is optional • Profit and/or fame! Company Confidential 24
  • 25. I want to get on all the stores! • http://horizon.symbian.org/ • Ovi Store by Nokia • Samsung Applications Store • AT&T’s Media Mall • China Mobile • Handango • Orange • Sony Ericsson’s Playnow http://horizon.symbian.or g Company Confidential 25
  • 26. BossaTetrix download http://bit.ly/espenbossatalk Company Confidential 26
  • 27. Summary • Install Qt SDK for Windows • Install Qt for Symbian • Get both at: http://qt.nokia.com/ • Install Nokia Smart Installer (still in beta) on top • Express Sign it • Upload to OVI • OVI Store is ready for Qt apps once Smart Installer is completed Company Confidential 27
  • 28. Thanks! Any questions? •Email: espen.riskedal@nokia.com •Twitter: @snowpong Company Confidential 28