Dear all,

I have trouble displaying large size jpg files in my arm board. My program works for png and jpg which size is under 1mb. It will show error "Pixmap is a null pixmap" if the jpg file is over 2mb or above.

Does anyone know how to display large size jpg in arm board? Here is the method I used....

QImage image(filePath);
QPixmap pixmap = QPixmap::fromImage(image);
imageLabel->setPixmap(pixmap.scaled(pixmap.size(),Qt::keepAsp ectRatio));

Regards,
omegas