Exception thrown for QStringList & QList.
-
http://i60.tinypic.com/8y9b39.png
I keep getting this no matter the list format I try to put the data from the .zip file in. I am at a loss as to stop this exception from firing. Oh this exception only happens in Debug, in release everything is fine.
@QuaZip QOverrideZ(pState->vecDORs[0].qsOverrideLocation);
if(QOverrideZ.open(QuaZip::mdUnzip)) // Attempt to open it
{
QStringList QOverideList = QOverrideZ.getFileNameList();
if(QOverideList.size() > 0) // Make sure files are in the zip.
{
//Parse
QString stest;
if(QOverrideZ.setCurrentFile("test.xml"))
{
QuaZipFile QZFile(&QOverrideZ);
if(QZFile.open(QIODevice::ReadOnly))
{
stest = QZFile.getFileName();
QZFile.close();
}
w->WriteToDebugBox(QString::QString(stest), false, w->TEXTColor::tRed);
}
for(int i = 0; i < QOverideList.size(); ++i)
{} } else w->WriteToDebugBox(QString::QString("... No files inside of Zip."), false, w->TEXTColor::tRed); //QOverideList->clear(); QOverrideZ.close();@
-
Actually just found this, it looks to be that I am having a debug / release dll issue. Does anyone know how to make it so I don't need to switch between the release and debug .dll manually everytime?
-
Hi,
Your best bet is to ask the QuaZIP authors how they do it. It's not a Qt issue, per se.