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