Hello,
I am trying to add a custom class object to my QVariantList
but I get an error: error: 'QVariant::QVariant(void*)' is private
e.g., here is the code I use:
where items is of type QVariantList and currentItem is of Type CMyClass.Qt Code:
items.append(¤tItem);To copy to clipboard, switch view to plain text mode
any help??
Bookmarks