Qt/Qt5 dependency fixes.

* don't depend on png, jpeg.
* use opt_prefix with d-bus.