QT开发碰到的问题:
出现大量的编译器报错,
但是QT Creator只显示编译器报错,
没有显示具体是哪一条语句导致报错,
不知道如何去修改代码。
请高人指点迷津。
error: 'QTableWidget::QTableWidget(const QTableWidget&)' is private within this context
new (dstFrom++) T(*srcFrom++);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: use of deleted function 'QTableWidget::QTableWidget(const QTableWidget&)'
new (dstFrom++) T(*srcFrom++);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: 'QTableWidget::QTableWidget(const QTableWidget&)' is private within this context
new (dst++) T(*srcBegin++);
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: use of deleted function 'QTableWidget::QTableWidget(const QTableWidget&)'
new (dst++) T(*srcBegin++);
^~~~~~~~~~~~~~~~~~~~~~~~~~
error: 'QTableWidget::QTableWidget(const QTableWidget&)' is private within this context
new (dst++) T(std::move(*srcBegin++));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: use of deleted function 'QTableWidget::QTableWidget(const QTableWidget&)'
new (dst++) T(std::move(*srcBegin++));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~