Qt 5 Blueprints
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Buch teilen
  1. 272 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

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.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Qt 5 Blueprints als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Qt 5 Blueprints von Symeon Huang im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Programming. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2015
ISBN
9781784390761

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...

Inhaltsverzeichnis