05-16-2013 10:55 AM
Maybe I'm missing something trivial but cannot see it yet???
Debuger goes thru up to that point??? I'm using the file picker and picking a file from the camera folder and trying to resize and store to sqlite
QFile file(this_image_path); if (!file.open(QIODevice::ReadOnly)) return ret_val; QByteArray byteArray = file.readAll(); //now scale this image QPixmap pixmap = QPixmap(); if( pixmap.loadFromData(byteArray, "PNG") ) // carry on if it works (CRASHES here with a SIGSEGV .....