Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Embedded Programming with Qt

You're reading from  Hands-On Embedded Programming with Qt

Product type Book
Published in Jul 2019
Publisher Packt
ISBN-13 9781789952063
Pages 416 pages
Edition 1st Edition
Languages
Author (1):
John Werner John Werner
Profile icon John Werner

Table of Contents (22) Chapters

Preface 1. Section 1: Getting Started with Embedded Qt
2. Setting Up the Environment 3. Writing Your First Qt Application 4. Running Your First Application on the Target 5. Section 2: Working with Embedded Qt
6. Important Qt Concepts 7. Managing the Overall Workflow 8. Exploring GUI Technologies 9. Adding More Features 10. Section 3: Deep Dive into Embedded Qt
11. Qt in the Embedded World 12. Exploring the IoT with Qt 13. Using More Qt-Related Technologies 14. Section 4: Advanced Techniques and Best Practices
15. Debugging, Logging, and Monitoring Qt Applications 16. Responsive Application Programming - Threads 17. Qt Best Practices 18. Assessments 19. Other Books You May Enjoy Appendix A: BigProject Requirements
1. Appendix B: Bonus Code - Simplifying Q_PROPERTY

Looking inside – Qt's introspection support

Several years ago I was tasked with writing a C# based application. My pride as a C++ programmer of over two decades at that point told me two things—firstly, I won't like a petty Microsoft(tm) language like C#, and secondly, if I were to write a C# program, it would be very easy to learn as it must be like C++. I was wrong, on both counts. C# is much more like Java than C++, and it has become a feature-packed language with lots of cool things.

One of the things I enjoyed the most was introspection, or the ability to look into a class at runtime and find out what attributes and methods it has. That is something not even C++17 has, and this lowly C# language already had it! (There is a good chance we will see some introspection support directly in C++20, but it's not final yet.)

The trolls that developed Qt...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}