update to bitcoinqt.pro (qt4<--->qt5)

This commit squashes all the changes in the Qt5 branch
relative to master.

Backward compatibility with Qt4 is retained.

Original authors:

- Philip Kaufmann <phil.kaufmann@t-online.de>
- Jonas Schnelli <jonas.schnelli@include7.ch>

changes implemented from:
https://github.com/bitcoin/bitcoin/commit/25c0cce7f