[Qt-interest] QVariant::save: unable to save type X

André Fillipe andref at syst.com.br
Wed Jun 9 22:06:27 CEST 2010


The "odd thing" you mention is C++ making fun of you with its implicit
conversions from any enum type to int. Notice that qDebug prints
"QVariant(int, 4)". I hate them implicit conversions.

-- 
André Fillipe




More information about the Qt-interest-old mailing list