Hi,
it is not ok to return a QVariantList variable from a function right?
e.g.,
because obj will go out of scope when f exits?? (ps.I understand this maybe common to all data types, just checking).Qt Code:
QVariantList app::f() { QVariantList obj; return obj; }To copy to clipboard, switch view to plain text mode
Bookmarks