KEMBAR78
Mp25: Mobile dev with QT and Python for the Notorious N9 | PDF
MOBILE DEVELOPMENT
      WITH QT AND PYTHON
      FOR THE NOTORIOUS N9




Angelique Mannella
Antoine Reversat
Angelique Mannella
   Senior Manager, Product Planning


Open Source Team at Nokia (Maemo, MeeGo)
     • Multimedia Apps and Middleware
        • Native Apps, HTML5 vid/audio, Dolby, DLNA
     • Media Partnerships: Youtube, Vimeo, Dailymotion


Lots of travel and tech!
     • Hardware/Software/Biz Dev/Consulting
     • Lived in 5 countries
Antoine Reversat


•Technical Guru at Ubity

•Working on a port of Mer for the HP Touchpad

•Making applications in QML/Javascript for the
N9/N950

•Loves hacking on mobile devices in general
Agenda


1. Qt Intro
2. Python, Qt, and Nokia
3. Super cool Demo!!
Qt: A Brief Introduction

Qt Software (formerly Trolltech) acquired by Nokia in 2008
   • More than 250 employees in eight locations worldwide
   • Trusted by over 5,000 customers worldwide
Qt: a cross-platform application and UI development
  framework
   • Easy to use. Supports all major platforms
   • For desktop, mobile, and embedded development
   • Used by more than 500,000 commercial and open source developers
Open Governance
   • Nokia Qt developers and external contributors being equal
Qt is Everywhere

    From embedded devices to mobile and   Used by leaders from
           desktop applications             many industries




6
KDE
15 year of building better software with Qt




> 4460 applications
Qt Now
Qt Webkit Integration
Touch and rotate




Applications have to be usable even when rotating the screen
Open Source Convergence –
                         A game changer




11   ASF - Qt SMS LT 11-24-2009 (piercey)
Qt 5: Road to the Future
 Graphics architecture redesigned
  •Even better GPU support
 Qt Quick in the spotlight
  •C++ used to provide business logic for QML
   frontends
 Source code modularized
 Good API backwards compatibility
Python and Qt
 PyQt
  •Developed by Riverbank Computing, Ltd.
  •GPLv2, GPLv3, Commercial
  •Tool chain not open.
 PySide: Python for Qt
  •Developed by OpenBossa at Instituto Nokia de
   Tecnologia (INdT). Sponsored by Nokia
  •Pyside will move to be an Official Qt Add On
   Project
  •LGPL
  •Complete binding generation toolchain
PyQt
 Developed by Riverbank Computing, Ltd.
    •Main developer: Phil Thompson
   PyQt 0.1 released in Nov 1998
   Mapping of Qt C++ class hierarchy to Python
   Supports Qt 3 and Qt 4, Python 2 and 3
   GPL or commercial licensing
   Toolchain not open
   Commercial support available
   Widely used
PySide: Python for Qt
 Developed by Instituto Nokia de
  Tecnologia (INdT)
    •Sponsored by Nokia
    •First release in Aug 2009
   LGPL
   Complete toolchain available
   Open governance
   Highly compatible with PyQt
    •Deliberate API differences
Summary
 Qt is an ideal solution for fast cross-
  platform application development
  •Desktop
  •Mobile phones
  •The next 10B devices
 High-quality support for Python
  •Two mature bindings projects to choose from
 Unbeatable time-to-market with Python
  and Qt Quick
Nokia and Python
 PyS60
  • Python for Symbian
  • Avkon UIs
 PyMaemo
  • Nokia Internet Tablets (N770,
    N800, N810)
  • Nokia N900
  • PyGTK (Hildon), PySide, PyQt
 Harmattan Python
  • Nokia N9
  • PySide
PySide Showcase



(Live demo)
Q&A
               qt.nokia.com
              www.pyside.org
 www.riverbankcomputing.co.uk/software/pyqt

  www.developer.nokia.com/Devices/MeeGo
    wiki.meego.com/Python/Harmattan

Mp25: Mobile dev with QT and Python for the Notorious N9

  • 1.
    MOBILE DEVELOPMENT WITH QT AND PYTHON FOR THE NOTORIOUS N9 Angelique Mannella Antoine Reversat
  • 2.
    Angelique Mannella Senior Manager, Product Planning Open Source Team at Nokia (Maemo, MeeGo) • Multimedia Apps and Middleware • Native Apps, HTML5 vid/audio, Dolby, DLNA • Media Partnerships: Youtube, Vimeo, Dailymotion Lots of travel and tech! • Hardware/Software/Biz Dev/Consulting • Lived in 5 countries
  • 3.
    Antoine Reversat •Technical Guruat Ubity •Working on a port of Mer for the HP Touchpad •Making applications in QML/Javascript for the N9/N950 •Loves hacking on mobile devices in general
  • 4.
    Agenda 1. Qt Intro 2.Python, Qt, and Nokia 3. Super cool Demo!!
  • 5.
    Qt: A BriefIntroduction Qt Software (formerly Trolltech) acquired by Nokia in 2008 • More than 250 employees in eight locations worldwide • Trusted by over 5,000 customers worldwide Qt: a cross-platform application and UI development framework • Easy to use. Supports all major platforms • For desktop, mobile, and embedded development • Used by more than 500,000 commercial and open source developers Open Governance • Nokia Qt developers and external contributors being equal
  • 6.
    Qt is Everywhere From embedded devices to mobile and Used by leaders from desktop applications many industries 6
  • 7.
    KDE 15 year ofbuilding better software with Qt > 4460 applications
  • 8.
  • 9.
  • 10.
    Touch and rotate Applicationshave to be usable even when rotating the screen
  • 11.
    Open Source Convergence– A game changer 11 ASF - Qt SMS LT 11-24-2009 (piercey)
  • 12.
    Qt 5: Roadto the Future  Graphics architecture redesigned •Even better GPU support  Qt Quick in the spotlight •C++ used to provide business logic for QML frontends  Source code modularized  Good API backwards compatibility
  • 13.
    Python and Qt PyQt •Developed by Riverbank Computing, Ltd. •GPLv2, GPLv3, Commercial •Tool chain not open.  PySide: Python for Qt •Developed by OpenBossa at Instituto Nokia de Tecnologia (INdT). Sponsored by Nokia •Pyside will move to be an Official Qt Add On Project •LGPL •Complete binding generation toolchain
  • 14.
    PyQt  Developed byRiverbank Computing, Ltd. •Main developer: Phil Thompson  PyQt 0.1 released in Nov 1998  Mapping of Qt C++ class hierarchy to Python  Supports Qt 3 and Qt 4, Python 2 and 3  GPL or commercial licensing  Toolchain not open  Commercial support available  Widely used
  • 15.
    PySide: Python forQt  Developed by Instituto Nokia de Tecnologia (INdT) •Sponsored by Nokia •First release in Aug 2009  LGPL  Complete toolchain available  Open governance  Highly compatible with PyQt •Deliberate API differences
  • 16.
    Summary  Qt isan ideal solution for fast cross- platform application development •Desktop •Mobile phones •The next 10B devices  High-quality support for Python •Two mature bindings projects to choose from  Unbeatable time-to-market with Python and Qt Quick
  • 17.
    Nokia and Python PyS60 • Python for Symbian • Avkon UIs  PyMaemo • Nokia Internet Tablets (N770, N800, N810) • Nokia N900 • PyGTK (Hildon), PySide, PyQt  Harmattan Python • Nokia N9 • PySide
  • 18.
  • 19.
    Q&A qt.nokia.com www.pyside.org www.riverbankcomputing.co.uk/software/pyqt www.developer.nokia.com/Devices/MeeGo wiki.meego.com/Python/Harmattan