O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Main container types

When you interact with a Qt API method, you don't have much choice on the container type, because you need to use the container the method uses. However, generally, you are free to choose containers to store your data. Let's go through the main Qt containers and learn when to use them.

We will only give a brief overview of Qt containers and won't go into details such as the algorithmic complexity of different operations. For most Qt containers, there is a similar STL container that we will name. The topic of choosing the right container is widely discussed, and it's not hard to find more information on it, especially for STL containers. You can also find more information on the Container Classes Qt documentation page. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required