Takatschio
18th August 2010, 14:23
With VS2008 the following code occurs an error:
QVariantList list;
list.append(QVariant("1"));
QVariant var(list);
list.clear();
var.clear(); // <-- Error
The same code runs successful with VS2005. I tried the Qt-Versions 4.3.4, 4.5.2, 4.6.1 and 4.6.2.
I think it is a VS2008 settings problem. But when I’m compare the VS2005 and VS2008 project settings, I don’t find a difference.
Hope you can help me.
QVariantList list;
list.append(QVariant("1"));
QVariant var(list);
list.clear();
var.clear(); // <-- Error
The same code runs successful with VS2005. I tried the Qt-Versions 4.3.4, 4.5.2, 4.6.1 and 4.6.2.
I think it is a VS2008 settings problem. But when I’m compare the VS2005 and VS2008 project settings, I don’t find a difference.
Hope you can help me.