IMG_Load in QT project is error

Hi SDL Image Team,

I load a png picture with IMG_Load, but it’s failed, SDL error message is
decompression error.

my project is QT project.

But I use IMG_Load in non-qt project, it’s successful, I want to know what
is the problem.

this is my codes:

#include <SDL2/SDL.h>

#include <SDL2/SDL_image.h>

int main(int argc, char **argv)


int result = 0;


SDL_Surface* sourceImage = IMG_Load("/home/nap/Foreground.png");


Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.