Hi,
I get very often this error, if I write a plugin:
error: C2248: 'QString::QString' : cannot access private member declared
in class 'QString'
For example:
...
returnQVariant(QString("%1").arg(m_firstRow+section+1));
...
I correct it with:
...
returnQVariant(QString(QLatin1String("%1")).arg(m_firstRow+section+1));
...
So, I correct every 'QString' with 'QLatin1String'.
Is there a better solution or is it the only one?
Thanks,
Thomas Meyer
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator