Hello all!
I have a QRect and when I try to setRect it return this error
/QT/Projetos/VisaoFinanceira/fluxocaixawidget.cpp:174: error: member function 'setRect' not viable: 'this' argument has type 'const QRect', but function is not marked const
fluxoRect.at(i).setRect(7,7,7,7);
Thanks.
Here is the code:
QList<QRect> fluxoRect;
fluxoRect.
append(QRect(0,
0,
0,
0));
fluxoRect.at(i).setRect(7,7,7,7);
QList<QRect> fluxoRect;
fluxoRect.append(QRect(0,0,0,0));
fluxoRect.at(i).setRect(7,7,7,7);
To copy to clipboard, switch view to plain text mode
Bookmarks