• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Qt quick (qml)
 

Qt quick (qml)

on

  • 4,878 views

 

Statistics

Views

Total Views
4,878
Views on SlideShare
4,878
Embed Views
0

Actions

Likes
2
Downloads
93
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Qt quick (qml) Qt quick (qml) Presentation Transcript

    • Qt 4.7: Qt Quick Alexander Trufanov Senior Technical Consultant Forum Nokia September 18, 2010
    • What is Qt? • Qt (”cute”) is a cross-platform C++ application development framework – Set of cross-platform APIs and cross-platform GUI framework – C++ class library – Development tools • Qt was originally designed for efficient creation of platform-independent desktop GUI programs • Developed by a Norwegian company called Trolltech, which has been part of Nokia since 2008 • Latest version is 4.6.3 (under development 4.7 RC)
    • Qt Architecture • Qt uses native styles to draw UI – UI elements have original look & feel – Can be adapted by the developer • Built on low level APIs of platform – No runtime! • Cross-platform – Single source for multiple platforms – Only requires recompilation
    • Qt Licensing • LGPL license • Qt is completely free! – Unlike GPL, the LGPL: • Allows using Qt for free in commercial, closed source apps – Complete development source code of Qt available • Commercial version – Code changes to Qt source code don’t have to be shared – Included support options
    • Platforms Windows Mac OS Linux / X11 C++ Embedded Linux Windows CE Maemo / MeeGo Java Symbian (S60) Python Ada Pascal Maintained by Perl Qt open source community. PHP Not officially supported by Qt Development Frameworks.
    • Symbian and Qt • Qt for Symbian: – Compatible to S60 3rd. Edition, FP1+ (for example Nokia N95, E71) – Install SDK for your device, or lowest denominator for devices you want to support with your product • Info about system version of Nokia S60 devices: http://www.forum.nokia.com/devices/ Series 60 Series 60 S60 S60 S60 S60 Symbian^3 Symbian^4 1st Ed. 2nd Ed. 3rd Ed. 3rd Ed. 3rd Ed. 5th Ed. (+ 3 FPs) FP1 FP2 = Symbian^1
    • Maemo / MeeGo and Qt • Maemo 5 – GTK+ based UI – Qt pre-installed – Final Qt support: H1 2010 (4.6.2) • MeeGo 1.0 N (formerly: Maemo 6) – Qt replaces GTK+ – Multi-touch, gestures support – GTK and Clutter will stay in MeeGo
    •  Simple installation  Qt Creator in nutshell  From the scratch to devices in 5min.  Simulator  On-device-debugging  Remote Compiler
    • Hybrid Applications HTML App Qt Web Technology Qt
    • Advantages of Hybrid Applications HTML, CSS, C++ JavaScript Full device access Rapid development Powerful libraries Broad reach http://qt.nokia.com/forms/whitepapers/reg-whitepaper-hybrid
    • Qt Quick (Qt User Interface Creation Kit) • Create UIs as a designer – Without C++ knowledge – Using visual tools – Module: Declarative UI – Based on QML language (extension to JavaScript) – Supported in Qt 4.7 http://blog.qt.nokia.com/2010/02/15/meet-qt-quick/
    • QML • Describe UI by tree structure of property bindings – Properties dynamically evaluated – Communication through Rectangle{ signals & slots width: 200 height: 200 – Bindings to C++ code possible color: "white" – Animate properties using states Image { source: "pics/logo.png" and transitions anchors.centerIn: parent } }
    • Qt Quick videos & demos