[Qt-interest] Compile error for QList<T> containing pointer to objects of my own class

Pedro Santos nonspam2048 at yahoo.de
Mon Jan 4 21:40:09 CET 2010


Am 04.01.2010 20:46, schrieb Duane Hebert:

> _listAllScripts is a Qlist<Script*>, not a pointer so you can't assign
> it to something
> created by new().

Oh, thanks. I see that was a stupid error the error message has confused me,
to think more complicated ;-)

> BTW, you should not use leading _ in your variable names as _ and __ are
> reserved.

Ok, I will change that.

Thanks and regards

Pedro Santos



More information about the Qt-interest-old mailing list