In relation to thread http://www.qtcentre.org/forum/f-newb...ion-10276.html

I have some nested structures that are referenced with a
Qt Code:
  1. void passCompletedQList(QList<NestedStrucutre *> *completeReferenceList);
To copy to clipboard, switch view to plain text mode 

This seems to work best as passing the list as a single pointer to another function for insertion rather then many seperate function calls to append the entries in the main function.

My problem is in the working function I am going to need memory for the QList pointer and doing something like

Qt Code:
  1. QList<NestedStrucutre *> *workingReference;
  2.  
  3. workingReference = new QList(QList<NestedStrucutre *>);
  4.  
  5. ... Create NestedStrutures append them etc ...
  6.  
  7. passCompletedQList(workingReference);
To copy to clipboard, switch view to plain text mode 

gives me a "use of class template requires template argument list" error. My lack of formal training has left me with some gaps in logic I just do not understand. Any help would be greatly appreciated.

Bob