I’m proud to announce my 4th book, entitled “Qt5 C++ GUI Programming Cookbook – Second Edition” has finally been published!
I have recently published another book with Packt Publishing, entitled “Hands-On GUI Programming with C++ and Qt5“. This is the 3rd book I’ve written so far, and hopefully the content quality is improving more this time.
If you’re using Kindle for reading ebooks, you can get this book from Amazon. Otherwise, you can get the ebook and printed copy at Packtpub. You can also get all the source files used in this book at the Github page.
Just to keep you guys updated – I’ve been really really busy for the past few months! Lots of projects to handle and lots of travelings and outstations. Good news is, our company is expanding steadily and hopefully I’ll have more time for this blog very soon.
Anyway, I have published a new book entitled “Qt5 C++ GUI Programming Cookbook“. Do check it out!
If you have bought my book “Building a Game with Unity and Blender“, you may have realized the sword model shown in Chapter 2 “Creating Characters” is no where to be found in the source files.
Fear not! The sword is actually hidden in Player.blend, which you can unhide by press alt-H in Blender.
Initially I wanted to use the sword model in the game demo. However, eventually I ended up doing punching animation instead of sword-wielding, which is why I hide the sword (instead of deleting it) before moving on to do the animations for Chapter 3.
You can try and unhide the sword, then import it to Unity and parent the sword model to one of the hand bones of the game character. It might even look like sword-wielding when playing the punching animation!
Recently, a reader sent me the following screenshot which shows a corrupted scene from my book’s demo project.
He also showed me the errors and warning he get when running the demo project:
Lightmap snapshot ‘LightmapSnapshot’ is inconsistent – 62 files out of 248 are missing. Realtime GI will be disabled. Please rebuild lighting for this scene.
Failed setting triangles. Some indices are referencing out of bounds vertices. IndexCount: 600, VertexCount: 11191
Failed setting triangles. Some indices are referencing out of bounds vertices. IndexCount: 96, VertexCount: 11191
This happens when Unity tries to convert the demo project to the latest version, which sometimes might mess up the files.
To solve this issue, reimport the mesh which has been corrupted by the conversion (in this case, terrain and rocks) by right clicking on the asset in Unity and choose “Reimport”, or delete the prefabs from the scene and place it again manually.
Once you have done the steps above, re-bake the lighting again and everything will work fine.
Good news! Starting from today until the 15th of February, you can get a 50% discount when purchasing the ebook “Building a Game with Unity and Blender” with the following promo code: BGUB50
Get it now before the promotion ends. All you need to do is go to Packt Publishing and use the promo code BGUB50 during checkout to get the ebook for half of the price!
I am proud to announce that I have published my very first book! The book is entitled “Building a Game with Unity and Blender” and it’s published by Packt Publishing, a well-known publisher based in Birmingham, UK.
I would like to thank all the people who helped to make this possible. Thanks again!
UPDATE: The source files are now available. Download it here.
“Application Development with Qt Creator Second Edition” is the 3rd book I reviewed for Packt Publishing. Although it’s the second edition, the contents of the book are greatly varied from its predecessor.
First off, it has more chapters compare to the first edition, bringing more contents to the readers especially topics related to Qt Quick. The book also included some pretty fun projects for readers to work on such as media player and simple paint program.
The book also covers some of the fundamental and important topics such as localization, software optimization, and debugging which are needed to develop industry-standard applications.
Let’s take a look at the chapter outline:
Getting Started with Qt Creator, shows you how to download and install Qt Creator as well as edit simple applications to test your installation.
Building Applications with Qt Creator, shows you how to compile, run, and debug your application using Qt Creator. You will learn how Qt Creator integrates with both the GNU debugger and the Microsoft console debugger to provide breakpoints, memory inspection, and other debugging help.
Designing Your Application with Qt Designer, shows you how to use the drag-and-drop GUI designer that is a part of Qt Creator to build both Qt Widget-based applications and Qt Quick applications.
Qt Foundations, takes you through the foundations of software development using Qt and also covers its support for platform-agnostic application development.
Developing Applications with Qt Widgets, shows you how to build applications using Qt Widgets that look and act like native desktop applications on the platform of your choice.
Drawing with Qt, shows the various ways you can move beyond the built-in controls in Qt and make your own drawing on the screen and other drawable entities such as image files in PNG or JPEG.
Doing More with Qt Quick, expands on what you learned about Qt Quick in the introductory chapters.
Multimedia and Qt Quick, introduces you to Qt Quick’s support for multimedia, such as audio and video playback as well as how to use a camera if it is connected.
Sensors and Qt Quick, shows you how to use the various sensors on many of the devices available today using Qt Quick.
Localizing Your Application with Qt Linguist, shows you how to manage resource strings for different locales, letting you build your application with different languages in different locales.
Optimizing Performance with Qt Creator, shows you how to use Qt Creator to examine your Qt Quick application’s runtime performance, as well as how to perform the memory profiling of your application with Valgrind, an open source diagnostic tool.
Developing Mobile Applications with Qt Creator, gives you a glimpse of the exciting arena of mobile software development and shows you how you can use what you’ve learned in this book about Qt and Qt Creator to write applications for platforms such as Google Android.
Qt Tips and Tricks, is packed with tricks for using Qt and Qt Creator that will help you use the Qt framework and the Qt Creator IDE efficiently.
You can get the book from here.