But how do I create a pointer to QList???

The code
Qt Code:
  1. m_pOrders=new QList(); // creates new qlist
  2. Q_CHECK_PTR(m_pOrders); // checks creation
To copy to clipboard, switch view to plain text mode 
returns an compile error.

And I need this info urgently please, since I have a demo of application and the app won't compile neither run because i cannot add items to a non created list!!!!