Qt 5 Blueprints
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Share book
  1. 272 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Qt 5 Blueprints

Symeon Huang

Book details
Book preview
Table of contents
Citations

About This Book

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Qt 5 Blueprints an online PDF/ePUB?
Yes, you can access Qt 5 Blueprints by Symeon Huang in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

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

Table of contents