[Interest] use of deleted function errors in QList / qarraydataops.h
hamish at risingsoftware.com
Tue Feb 28 02:15:04 CET 2023
On 28/2/23 12:00, Hamish Moffatt via Interest wrote:
> Qt5's documentation (like Qt6's) does say "QVector's value type must
> be an assignable data type", so the mystery here is perhaps why our
> code works with Qt5.
Even in Qt6, it compiles with other things in the struct that aren't
assignable though, just not QVector.
int x = 0;
//const QVector<int> v; // compiles if not const
const T t;
const int x = 0;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest