title: QVector Deep Copy
body: <p>I'm trying to deep copy my variable:</p>
  
  <pre><code>QVector&lt;PetTeam*&gt; petTeam;
  </code></pre>
  
  <p>This PetTeam class also has another QVector containing pets and so on. I am looking to deep copy them all so I can use them for states in an minimax AI but so far I have been unable to deep copy it correctly.</p>
  
  <p>If anyone could provide any insight on the correct way to deep copy in this situation it would be much appreciated!</p>