Qt 5 Blueprints
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Compartir libro
  1. 272 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

About This Book

  • Develop native graphical applications that can run anywhere with one of the world's best open-source frameworks
  • Learn all about signals, slots, models, and views to design a robust structure for your application
  • A comprehensive tutorial with step-by-step instructions to help you extend your applications across a wide domain

Who This Book Is For

If you are a programmer looking for a truly cross-platform GUI framework to help you save your time by side-stepping the incompatibility between different platforms and building applications using Qt 5 for multiple targets, then this book is most certainly intended for you. It is assumed that you have a basic programming experience of C++ and fundamental knowledge about Qt.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Qt 5 Blueprints un PDF/ePUB en línea?
Sí, puedes acceder a Qt 5 Blueprints de Symeon Huang en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781784390761
Categoría
Programming

Qt 5 Blueprints


Table of Contents

Qt 5 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Creating Your First Qt Application
Creating a new project
Changing the layout of widgets
Understanding the mechanism of signals and slots
Connecting two signals
Creating a Qt Quick application
Connecting C++ slots to QML signals
Summary
2. Building a Beautiful Cross-platform Clock
Creating a basic digital clock
Tweaking the digital clock
Saving and restoring settings
Building on the Unix platforms
Summary
3. Cooking an RSS Reader with Qt Quick
Understanding model and view
Parsing RSS Feeds by XmlListModel
Tweaking the categories
Utilizing ScrollView
Adding BusyIndicator
Making a frameless window
Debugging QML
Summary
4. Controlling Camera and Taking Photos
Accessing the camera in Qt
Controlling the camera
Displaying errors on the status bar
Permanent widgets in the status bar
Utilizing the menu bar
Using QFileDialog
QML camera
Summary
5. Extending Paint Applications with Plugins
Drawing via QPainter
Writing static plugins
Writing dynamic plugins
Merging plugins and main program projects
Creating a C++ plugin for QML applications
Summary
6. Getting Wired and Managing Downloads
Introducing Qt network programming
Utilizing QNetworkAccessManager
Making use of the progress bar
Writing multithreaded applications
Managing a system network session
Summary
7. Parsing JSON and XML Documents to Use Online APIs
Setting up Qt for Android
Parsing JSON results
Parsing XML results
Building Qt applications for Android
Parsing JSON in QML
Summary
8. Enabling Your Qt Application to Support Other Languages
Internationalization of Qt applications
Translating Qt Widgets applications
Disambiguating identical texts
Changing languages dynamically
Translating Qt Quick applications
Summary
9. Deploying Applications on Other Devices
Releasing Qt applications on Windows
Creating an installer
Packaging Qt applications on Linux
Deploying Qt applications on Android
Summary
10. Don't Panic When You Encounter These Issues
Commonly encountered issues
C++ syntax mistakes
Pointer and memory
Incompatible shared libraries
Doesn't run on Android!
Debugging Qt applications
Debugging Qt Quick applications
Useful resources
Summary
Index

Qt 5 Blueprints

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: March 2015
Production reference: 1240315
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-461-5
www.packtpub.com

Credits

Author
Symeon Huang
Reviewers
Lee Zhi Eng
Sudhendu Kumar
Mickael Minarie
Acquisition Editor
Shaon Basu
Content Development Editor
Sriram Neelakantan
Technical Editors
Novina Kewalramani
Shruti Rawool
Copy Editor
Sonia Michelle Cheema
Project Coordinator
Judie Jose
Proofreaders
Simran Bhogal
Safis Editing
Indexer
Rekha Nair
Graphics
Sheetal Aute
Disha Haria
Abhinash Sahu
Production Coordinator
Conidon Miranda
Cover Work
Conidon Miranda

About the Author

Symeon Huang is an amateur developer who's currently doing his master's degree at Trinity College, Dublin. He has been contributing to open source projects for several years. He has worked in various areas, including the maintenance of Linux servers, desktop application development, and image recognition and analysis.
Symeon has always been passionate about cool technology and elegant programming techniques. He has been programming Qt and QML applications for 2 years and has also been developing pure C and C++ programs for many years. Most of the projects he's working on can be found on his GitHub and Gitorious pages.

About the Reviewers

Lee Zhi Eng is a 3D artist-turned-programmer who worked as a game artist and programmer in several local game studios in his native country before becoming a contractor and a part-time lecturer at a local university and teaching game development subjects, particularly those related to Unity Engine and Unreal Engine 4. You can find more information about him at http://www.zhieng.com.
Sudhendu Kumar has been a GNU/Linux user for more than 7 years. Currently, he is a software developer for a networking giant, and in his free time, he also contributes to KDE.
Mickael Minarie is a software developer who graduated from the University of Clermont-Ferrand (bachelor's in embedded systems) and Robert Gordon University, Aberdeen (bachelor's in computer science). He has worked on freelance projects, developing some programs in C++/Qt for embedded systems or in programs linked with photos and videos.
He now lives in France, but he has lived in the UK and Canada for some years.
He is an analog photogra...

Índice