I had come across with an issue right after I switched to Fedora 17. Qt 4.8.1 was complaining about missing libpng12.so.0. Fedora 17 ships with
libpng-1.5.10.
We can always downgrade it however I wanted to keep it as it is since I will need it for other applications. As a result, I have added libpng12.so.0 to my development environment as well. It's path gets included automatically based on the product I am developing.
You can obtain the package here https://www.dropbox.com/s/v1khn61flmel27k/libpng12.so.0.tgz?dl=0
You can also check the libpng reference library at http://www.libpng.org/pub/png/libpng.html