Hi,

I have a QList integrated with other QList<QPointF>, but it's impossible to add elements to the second QList.

For instance, the next code does not compile (2 overloads have no legal conversion for "this" pointer), but it should...

Qt Code:
  1. //Please note the blank space between the two ">"
  2. QList<QList<QPointF> > my_list;
  3. QPointF my_point(0, 10);
  4. my_list.at(0).append(my_point);
To copy to clipboard, switch view to plain text mode 

then... how can I add elements to a lists of lists in qt? is it possible?