/../../src/corelib/tools/qvector.h: In member function 'void QVector<T>::append(const T&) [with T = PIN]':
/../../src/corelib/tools/qvector.h:552: note: synthesized method 'PIN& PIN::operator=(const PIN&)' first required here
В чём дело ? Разве нельзя использовать QVector со своими классами ?
QVector<PIN> PINs;
Падает тут:
PIN *a = new PIN(this);
PIN *b = new PIN(this);
this->PINs.append(*a); // <- Problem
this->PINs.append(*b);