SlideServe
Menu
Préférences
© SlideServe · v2026

Qt Mobile Programming Training Kit

denzel avatar
21 diapositives · 354 Views · Aug 02, 2014

Discover Qt, a powerful cross-platform development framework written in C++. This training covers its extensive modules like QtCore, QtGui, and QtNetwork, enabling the creation of native applications across various platforms, including Windows, Mac OS X, and Linux. Learn how to harness Qt’s easy-to-use APIs for high developer productivity and create seamless applications with a native look and feel. The course also covers the history of Qt and its licensing, ensuring you understand both commercial and open-source options for your projects.

Qt Mobile Programming Training Kit - slide 1
01 / 21Qt Mobile Programming Training Kit
1 / 17

Télécharger la présentation

Qt Mobile Programming Training Kit
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Qt Mobile ProgrammingTraining Kit Agus Kurniawan agusk@cs.ui.ac.id http://blog.aguskurniawan.net

  2. Introduction to Qt Agus Kurniawan agusk@cs.ui.ac.id http://blog.aguskurniawan.net

  3. What is Qt? • C++ framework – bindings for other languages • Python, Ruby, C#, etcetera • Original for user interfaces – now for everything Databases, XML, WebKit, multimedia, networking, OpenGL, scripting, non-GUI... ”Qt is a cross platform developmentframework written in C++.”

  4. What is Qt? • Qt is built from modules • All modules have a common scheme and are built from the same API design ideas QtCore QtGui QtOpenGL QtWebKit QtNetwork QtXml Phonon QtOpenVG QtSql QtScript QtXmlPatterns QtMultimedia QtSvg

  5. What is Qt? • Qt extends C++ with macros and introspection • All code is still plain C++ foreach (int value, intList) { … } QObject *o = new QPushButton; o->metaObject()->className(); // returns ”QPushButton” connect(button, SIGNAL(clicked()), window, SLOT(close()));

  6. The Purpose of Qt • Cross platform applications built from one source • Builds native applications with native look and feel • Easy to (re)use API, high developer productivity, openess, fun to use

  7. Desktop target platforms • Windows • Mac OS X • Linux/Unix X11

  8. Embedded target platforms • Windows CE • Symbian • Maemo • Embedded Linux • Direct framebuffer access

  9. Hello World

  10. Hello World #include <QApplication> #include <QLabel> int main( int argc, char **argv ) { QApplication app( argc, argv ); QLabel l( "Hello World!" ); l.show(); return app.exec(); }

  11. Hello World #include <QApplication> #include <QLabel> int main( int argc, char **argv ) { QApplication app( argc, argv ); QLabel l( "Hello World!" ); l.show(); return app.exec(); }

  12. Hello World #include <QApplication> #include <QLabel> int main( int argc, char **argv ) { QApplication app( argc, argv ); QLabel l( "Hello World!" ); l.show(); return app.exec(); }

  13. Hello World #include <QApplication> #include <QLabel> int main( int argc, char **argv ) { QApplication app( argc, argv ); QLabel l( "Hello World!" ); l.show(); return app.exec(); }

  14. Hello World #include <QApplication> #include <QLabel> int main( int argc, char **argv ) { QApplication app( argc, argv ); QLabel l( "Hello World!" ); l.show(); return app.exec(); }

  15. Where is Qt used?

  16. Where is Qt used?

  17. Commercial and Open Source • LGPL – free • Your application can be open or closed • Changes to Qt must be fed back to the community • GPL – free • Your application must be open • Changes to Qt must be fed back to the community • Commercial – costs money • Your application can be closed • Changes to Qt can be kept closed

  18. The history of Qt • 1991 – Haavard Nord and Eirik Chambe-Eng begin to develop what will be Qt supporting X11 and Windows • 1994 – The company Trolltech was formed • 1996 – The KDE project was started by Matthias Ettrich (now works for Nokia Qt Development Frameworks)

  19. The history of Qt • 2001 – Added support for Mac OS X • 2005 – All platforms released under GPL • 2008 – Nokia acquires Trolltech • 2009 – Support for S60

  20. Qt Today • ~840 classes • ~180 developers working on Qt

  21. Thank you Agus Kurniawan agusk@cs.ui.ac.id http://blog.aguskurniawan.net