I am trying to save images in Qt. I am able to save all the formats except jpeg. I have the following libraries under the plugins/imageformats folder.
libqgif.so,
Under windows the qjpeg4.dll must in a imageformats directory under the application's directory by default.
qjpeg4.dll
imageformats