I just transitioned my Qt project from 4.7.0 to 4.8.0 on Windows (win32-g++). After fixing the "--enable-auto-import" issue in qmake.conf I am able to build. But trying to run, it crashes with the following error. "Microsoft Visual C++ Runtime Library" "Runtime Error!":
error.png
I don't even have Visual C++ installed. Same code runs perfectly in 4.7.0... Any help would be greatly appreciated.
I have more data: The actual error is:
ASSERT failure in QVector<T>::at: "index out of range", file ..\..\include/QtCore/../../src/corelib/tools/qvector.h, line 351
This occurs when I attempt to drag a QTreeWidgetItem from a QTreeWidget. AND the QTreeWidget has been filtered to display a single QTreeWidgetItem. Here's (part of) the constructor for the QTreeWidget class:
SourceTreeWidget::SourceTreeWidget(QWidget * parent):
QTreeWidget(parent), actionRename(false), sourceSearchString(""),
masterSearchString(""), sourceFiltered(false), masterFiltered(false),
_lastFilePath(DEFAULT_FILE_PATH)
{
setObjectName("SourceTreeWidget");
connect(this, SIGNAL(itemChanged(QTreeWidgetItem *, int)),
this, SLOT(changeSourceName(QTreeWidgetItem *, int)));
model()->setSupportedDragActions(Qt::CopyAction);
.
.
.
}
Bookmarks