On 03/28/2012 05:59 PM, David C. Rankin wrote: > pngformattype.cpp: In function 'void Gwenview::setup_qt(TQImage&, png_structp, > png_infop)': > pngformattype.cpp:293:15: error: invalid use of incomplete type 'png_info {aka > struct png_info_def}' > /usr/include/png.h:724:16: error: forward declaration of 'png_info {aka struct Darrell, It seems to be stumbling on this code: #if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=4 ) info_ptr->trans_alpha[i] #else info_ptr->trans[i] #endif Not being able to read any this stuff any better than I can, shouldn't the patch also got rid of the above code completely? The info_ptr->trans_alpha[i] has to be removed and replaced with palette[i].red (.green,.blue) stuff right? -- David C. Rankin, J.D.,P.E.