![Page 1: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/1.jpg)
MOBILE DEVELOPMENT
WITH QT AND PYTHON
FOR THE NOTORIOUS N9
Angelique Mannella
Antoine Reversat
![Page 2: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/2.jpg)
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
Angelique MannellaSenior Manager, Product Planning
![Page 3: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/3.jpg)
•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
Antoine Reversat
![Page 4: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/4.jpg)
Agenda
1. Qt Intro
2. Python, Qt, and Nokia
3. Super cool Demo!!
![Page 5: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/5.jpg)
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
![Page 6: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/6.jpg)
6
Qt is Everywhere
From embedded devices to mobile and
desktop applications
Used by leaders from
many industries
![Page 7: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/7.jpg)
15 year of building better software with Qt
> 4460 applications
KDE
![Page 8: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/8.jpg)
Qt Now
![Page 9: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/9.jpg)
Qt Webkit Integration
![Page 10: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/10.jpg)
Touch and rotate
Applications have to be usable even when rotating the screen
![Page 11: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/11.jpg)
Open Source Convergence –
A game changer
11 ASF - Qt SMS LT 11-24-2009 (piercey)
![Page 12: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/12.jpg)
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
![Page 13: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/13.jpg)
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
![Page 14: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/14.jpg)
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
![Page 15: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/15.jpg)
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
![Page 16: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/16.jpg)
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
![Page 17: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/17.jpg)
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
![Page 18: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/18.jpg)
PySide Showcase
(Live demo)
![Page 19: Mp25: Mobile dev with QT and Python for the Notorious N9](https://reader034.vdocuments.us/reader034/viewer/2022052410/5554af3db4c90502618b54e1/html5/thumbnails/19.jpg)
Q&A
qt.nokia.comwww.pyside.org
www.riverbankcomputing.co.uk/software/pyqt
www.developer.nokia.com/Devices/MeeGowiki.meego.com/Python/Harmattan