Chapter 14. Qt Hat Tips and Tricks

The previous chapter taught you how to package a Qt application on all the major desktop and mobile platforms. This was the final step before shipping your application to your users. This chapter gathers some tips and tricks that will help you to develop your Qt applications with more ease.

This chapter covers the following topics:

  • Qt Creator tips - Useful keyboard shortcuts, session management, and more
  • Examining the memory with Qt Creator
  • Generating random numbers
  • Silencing unused variables and compiler warnings
  • How to easily log an object's content to QDebug
  • Customizing QDebug formatting
  • Saving logs to a file
  • Creating a friendly command-line interface
  • Sending HTTPGET and POST requests

Managing your workspace with sessions ...

Get Mastering Qt 5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.