* QList will allocate memory on the heap internally... are you sure you want to do that yourself?
* (the list going out of scope is another matter)
* how big (in bytes) do you expect those number to be? how many do you want to store?
* if you put a pointer inside QList, you will be responsible to delete the entries (QList will not delete them in its constructor); also comparison is done on the pointer, not the object pointed to. (maybe Boost.ptr_container can help you, if you insist on the pointer in list thing. An alternative might be to wrap the allocated object in "smart pointers" like boost::shared_ptr

HTH