bitcoin_qt.m4: Improve QT_VERSION tests.
bitcoin_qt.m4: Improve QT_VERSION tests.

Use '<QtCore/qconfig.h> and '<QtCore/qglobal.h>' for testing QT_VERSION.
This makes the tests work with both Qt4 and Qt5, even if '-fPIC' or '-fPIE'
is not used (the compiler might choke otherwise if QT_REDUCE_RELOCATIONS is
active).

gjhiggins/vcoincore,globaltoken/globaltoken,jnewbery/bitcoin,tjps/bitcoin,Christewart/bitcoin,deeponion/deeponion,untrustbank/litecoin,GlobalBoost/GlobalBoost,jtimon/bitcoin,EthanHeilman/bitcoin,yenliangl/bitcoin,paveljanik/bitcoin,DigitalPandacoin/pandacoin,qtumproject/qtum,rnicoll/dogecoin,apoelstra/bitcoin,sstone/bitcoin,MazaCoin/maza,jtimon/bitcoin,Flowdalic/bitcoin,h4x3rotab/BTCGPU,fanquake/bitcoin,dscotese/bitcoin,randy-waterhouse/bitcoin,instagibbs/bitcoin,namecoin/namecore,sipsorcery/bitcoin,afk11/bitcoin,bespike/litecoin,jambolo/bitcoin,jamesob/bitcoin,lateminer/bitcoin,Kogser/bitcoin,tecnovert/particl-core,h4x3rotab/BTCGPU,afk11/bitcoin,rnicoll/bitcoin,pstratem/bitcoin,sstone/bitcoin,BTCGPU/BTCGPU,peercoin/peercoin,CryptArc/bitcoin,jamesob/bitcoin,FeatherCoin/Feathercoin,starwels/starwels,r8921039/bitcoin,RHavar/bitcoin,yenliangl/bitcoin,JeremyRubin/bitcoin,domob1812/namecore,ryanofsky/bitcoin,MazaCoin/maza,mitchellcash/bitcoin,bitcoinsSG/bitcoin,fanquake/bitcoin,pataquets/namecoin-core,MeshCollider/bitcoin,lbryio/lbrycrd,joshrabinowitz/bitcoin,pstratem/bitcoin,deeponion/deeponion,anditto/bitcoin,jnewbery/bitcoin,prusnak/bitcoin,nikkitan/bitcoin,wellenreiter01/Feathercoin,dscotese/bitcoin,joshrabinowitz/bitcoin,wellenreiter01/Feathercoin,Sjors/bitcoin,ahmedbodi/vertcoin,JeremyRubin/bitcoin,GroestlCoin/bitcoin,apoelstra/bitcoin,guncoin/guncoin,RHavar/bitcoin,achow101/bitcoin,qtumproject/qtum,GroestlCoin/bitcoin,myriadcoin/myriadcoin,midnightmagic/bitcoin,r8921039/bitcoin,viacoin/viacoin,bitcoin/bitcoin,BTCGPU/BTCGPU,kallewoof/bitcoin,mm-s/bitcoin,jamesob/bitcoin,particl/particl-core,EthanHeilman/bitcoin,ajtowns/bitcoin,pataquets/namecoin-core,Christewart/bitcoin,starwels/starwels,bitcoinknots/bitcoin,GlobalBoost/GlobalBoost,AkioNak/bitcoin,practicalswift/bitcoin,MazaCoin/maza,donaloconnor/bitcoin,untrustbank/litecoin,paveljanik/bitcoin,ericshawlinux/bitcoin,ElementsProject/elements,litecoin-project/litecoin,untrustbank/litecoin,FeatherCoin/Feathercoin,MeshCollider/bitcoin,jtimon/bitcoin,kazcw/bitcoin,ajtowns/bitcoin,rnicoll/bitcoin,mm-s/bitcoin,1185/starwels,bitcoin/bitcoin,lbryio/lbrycrd,apoelstra/bitcoin,lateminer/bitcoin,kazcw/bitcoin,starwels/starwels,dscotese/bitcoin,ppcoin/ppcoin,lbryio/lbrycrd,TheBlueMatt/bitcoin,digibyte/digibyte,cdecker/bitcoin,thrasher-/litecoin,droark/bitcoin,instagibbs/bitcoin,OmniLayer/omnicore,cdecker/bitcoin,ppcoin/ppcoin,Kogser/bitcoin,achow101/bitcoin,tjps/bitcoin,alecalve/bitcoin,myriadteam/myriadcoin,kazcw/bitcoin,1185/starwels,deeponion/deeponion,alecalve/bitcoin,yenliangl/bitcoin,MarcoFalke/bitcoin,paveljanik/bitcoin,tecnovert/particl-core,myriadcoin/myriadcoin,rnicoll/bitcoin,namecoin/namecoin-core,n1bor/bitcoin,Flowdalic/bitcoin,jonasschnelli/bitcoin,alecalve/bitcoin,donaloconnor/bitcoin,peercoin/peercoin,tecnovert/particl-core,mb300sd/bitcoin,r8921039/bitcoin,CryptArc/bitcoin,andreaskern/bitcoin,bespike/litecoin,ElementsProject/elements,monacoinproject/monacoin,GroestlCoin/GroestlCoin,practicalswift/bitcoin,bespike/litecoin,donaloconnor/bitcoin,namecoin/namecore,Bushstar/UFO-Project,cdecker/bitcoin,wellenreiter01/Feathercoin,sstone/bitcoin,mitchellcash/bitcoin,Kogser/bitcoin,kallewoof/bitcoin,OmniLayer/omnicore,myriadteam/myriadcoin,Xekyo/bitcoin,domob1812/namecore,guncoin/guncoin,r8921039/bitcoin,wellenreiter01/Feathercoin,guncoin/guncoin,midnightmagic/bitcoin,viacoin/viacoin,litecoin-project/litecoin,jmcorgan/bitcoin,jambolo/bitcoin,myriadcoin/myriadcoin,jamesob/bitcoin,thrasher-/litecoin,practicalswift/bitcoin,donaloconnor/bitcoin,donaloconnor/bitcoin,achow101/bitcoin,lbryio/lbrycrd,jonasschnelli/bitcoin,h4x3rotab/BTCGPU,r8921039/bitcoin,ericshawlinux/bitcoin,fujicoin/fujicoin,bitcoinsSG/bitcoin,ppcoin/ppcoin,FeatherCoin/Feathercoin,wellenreiter01/Feathercoin,droark/bitcoin,jmcorgan/bitcoin,GlobalBoost/GlobalBoost,fanquake/bitcoin,kallewoof/bitcoin,mm-s/bitcoin,jambolo/bitcoin,monacoinproject/monacoin,BTCGPU/BTCGPU,paveljanik/bitcoin,jtimon/bitcoin,h4x3rotab/BTCGPU,RHavar/bitcoin,viacoin/viacoin,particl/particl-core,GroestlCoin/bitcoin,TheBlueMatt/bitcoin,rnicoll/dogecoin,globaltoken/globaltoken,bespike/litecoin,ajtowns/bitcoin,jlopp/statoshi,Bushstar/UFO-Project,monacoinproject/monacoin,viacoin/viacoin,fujicoin/fujicoin,ericshawlinux/bitcoin,dscotese/bitcoin,lateminer/bitcoin,Flowdalic/bitcoin,bitcoinsSG/bitcoin,monacoinproject/monacoin,AkioNak/bitcoin,ryanofsky/bitcoin,ElementsProject/elements,vmp32k/litecoin,mitchellcash/bitcoin,domob1812/namecore,AkioNak/bitcoin,rawodb/bitcoin,jamesob/bitcoin,viacoin/viacoin,guncoin/guncoin,mruddy/bitcoin,andreaskern/bitcoin,tjps/bitcoin,ahmedbodi/vertcoin,untrustbank/litecoin,ajtowns/bitcoin,particl/particl-core,GlobalBoost/GlobalBoost,Kogser/bitcoin,practicalswift/bitcoin,MarcoFalke/bitcoin,apoelstra/bitcoin,bitcoinknots/bitcoin,MarcoFalke/bitcoin,randy-waterhouse/bitcoin,sipsorcery/bitcoin,BTCGPU/BTCGPU,Kogser/bitcoin,instagibbs/bitcoin,fanquake/bitcoin,wellenreiter01/Feathercoin,joshrabinowitz/bitcoin,Sjors/bitcoin,domob1812/huntercore,gjhiggins/vcoincore,myriadteam/myriadcoin,sstone/bitcoin,digibyte/digibyte,gjhiggins/vcoincore,RHavar/bitcoin,achow101/bitcoin,prusnak/bitcoin,CryptArc/bitcoin,domob1812/huntercore,jlopp/statoshi,joshrabinowitz/bitcoin,fanquake/bitcoin,mruddy/bitcoin,Xekyo/bitcoin,h4x3rotab/BTCGPU,jnewbery/bitcoin,domob1812/bitcoin,domob1812/bitcoin,midnightmagic/bitcoin,peercoin/peercoin,deeponion/deeponion,1185/starwels,JeremyRubin/bitcoin,jambolo/bitcoin,jonasschnelli/bitcoin,peercoin/peercoin,jlopp/statoshi,paveljanik/bitcoin,EthanHeilman/bitcoin,vertcoin/vertcoin,Kogser/bitcoin,GlobalBoost/GlobalBoost,ppcoin/ppcoin,randy-waterhouse/bitcoin,droark/bitcoin,randy-waterhouse/bitcoin,thrasher-/litecoin,MeshCollider/bitcoin,globaltoken/globaltoken,dscotese/bitcoin,yenliangl/bitcoin,monacoinproject/monacoin,mm-s/bitcoin,mitchellcash/bitcoin,bitcoinsSG/bitcoin,rawodb/bitcoin,apoelstra/bitcoin,particl/particl-core,domob1812/huntercore,afk11/bitcoin,mitchellcash/bitcoin,1185/starwels,instagibbs/bitcoin,achow101/bitcoin,Kogser/bitcoin,TheBlueMatt/bitcoin,digibyte/digibyte,GlobalBoost/GlobalBoost,peercoin/peercoin,guncoin/guncoin,apoelstra/bitcoin,ryanofsky/bitcoin,particl/particl-core,1185/starwels,vmp32k/litecoin,EthanHeilman/bitcoin,dscotese/bitcoin,stamhe/bitcoin,nikkitan/bitcoin,ahmedbodi/vertcoin,deeponion/deeponion,litecoin-project/litecoin,anditto/bitcoin,practicalswift/bitcoin,sstone/bitcoin,myriadteam/myriadcoin,Bushstar/UFO-Project,Sjors/bitcoin,DigitalPandacoin/pandacoin,OmniLayer/omnicore,rnicoll/bitcoin,practicalswift/bitcoin,jonasschnelli/bitcoin,jambolo/bitcoin,rawodb/bitcoin,vmp32k/litecoin,bitcoinsSG/bitcoin,donaloconnor/bitcoin,tjps/bitcoin,domob1812/huntercore,bespike/litecoin,DigitalPandacoin/pandacoin,stamhe/bitcoin,Kogser/bitcoin,rnicoll/dogecoin,anditto/bitcoin,rawodb/bitcoin,pstratem/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,sipsorcery/bitcoin,BTCGPU/BTCGPU,fanquake/bitcoin,andreaskern/bitcoin,ericshawlinux/bitcoin,DigitalPandacoin/pandacoin,AkioNak/bitcoin,bitcoinknots/bitcoin,qtumproject/qtum,domob1812/namecore,yenliangl/bitcoin,droark/bitcoin,mruddy/bitcoin,alecalve/bitcoin,FeatherCoin/Feathercoin,Flowdalic/bitcoin,n1bor/bitcoin,digibyte/digibyte,bitcoin/bitcoin,bespike/litecoin,peercoin/peercoin,globaltoken/globaltoken,namecoin/namecoin-core,tecnovert/particl-core,mb300sd/bitcoin,pataquets/namecoin-core,EthanHeilman/bitcoin,lateminer/bitcoin,rnicoll/dogecoin,lbryio/lbrycrd,afk11/bitcoin,cdecker/bitcoin,stamhe/bitcoin,n1bor/bitcoin,thrasher-/litecoin,kazcw/bitcoin,untrustbank/litecoin,joshrabinowitz/bitcoin,namecoin/namecore,FeatherCoin/Feathercoin,n1bor/bitcoin,GroestlCoin/GroestlCoin,1185/starwels,droark/bitcoin,Xekyo/bitcoin,CryptArc/bitcoin,jonasschnelli/bitcoin,pstratem/bitcoin,myriadcoin/myriadcoin,prusnak/bitcoin,ahmedbodi/vertcoin,randy-waterhouse/bitcoin,Kogser/bitcoin,AkioNak/bitcoin,jmcorgan/bitcoin,mb300sd/bitcoin,midnightmagic/bitcoin,starwels/starwels,viacoin/viacoin,qtumproject/qtum,DigitalPandacoin/pandacoin,Flowdalic/bitcoin,joshrabinowitz/bitcoin,globaltoken/globaltoken,Christewart/bitcoin,fujicoin/fujicoin,mb300sd/bitcoin,deeponion/deeponion,anditto/bitcoin,vertcoin/vertcoin,guncoin/guncoin,OmniLayer/omnicore,afk11/bitcoin,Xekyo/bitcoin,vmp32k/litecoin,yenliangl/bitcoin,CryptArc/bitcoin,vertcoin/vertcoin,rnicoll/dogecoin,vmp32k/litecoin,gjhiggins/vcoincore,ericshawlinux/bitcoin,stamhe/bitcoin,bitcoin/bitcoin,kazcw/bitcoin,nikkitan/bitcoin,randy-waterhouse/bitcoin,prusnak/bitcoin,sipsorcery/bitcoin,sstone/bitcoin,andreaskern/bitcoin,domob1812/huntercore,n1bor/bitcoin,thrasher-/litecoin,digibyte/digibyte,stamhe/bitcoin,litecoin-project/litecoin,MazaCoin/maza,gjhiggins/vcoincore,kallewoof/bitcoin,namecoin/namecoin-core,jtimon/bitcoin,nikkitan/bitcoin,qtumproject/qtum,domob1812/bitcoin,prusnak/bitcoin,MeshCollider/bitcoin,untrustbank/litecoin,ElementsProject/elements,fujicoin/fujicoin,sebrandon1/bitcoin,OmniLayer/omnicore,starwels/starwels,Bushstar/UFO-Project,andreaskern/bitcoin,thrasher-/litecoin,lateminer/bitcoin,MeshCollider/bitcoin,Christewart/bitcoin,ahmedbodi/vertcoin,starwels/starwels,jtimon/bitcoin,prusnak/bitcoin,alecalve/bitcoin,Kogser/bitcoin,rawodb/bitcoin,ryanofsky/bitcoin,n1bor/bitcoin,achow101/bitcoin,Bushstar/UFO-Project,sebrandon1/bitcoin,myriadcoin/myriadcoin,vertcoin/vertcoin,rnicoll/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,domob1812/namecore,RHavar/bitcoin,sebrandon1/bitcoin,BTCGPU/BTCGPU,MarcoFalke/bitcoin,kazcw/bitcoin,paveljanik/bitcoin,qtumproject/qtum,bitcoinknots/bitcoin,domob1812/bitcoin,vmp32k/litecoin,lateminer/bitcoin,ajtowns/bitcoin,pstratem/bitcoin,bitcoinknots/bitcoin,pataquets/namecoin-core,mruddy/bitcoin,MarcoFalke/bitcoin,rawodb/bitcoin,jamesob/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,myriadcoin/myriadcoin,jmcorgan/bitcoin,mb300sd/bitcoin,tjps/bitcoin,pataquets/namecoin-core,GroestlCoin/GroestlCoin,stamhe/bitcoin,jambolo/bitcoin,fujicoin/fujicoin,anditto/bitcoin,domob1812/bitcoin,anditto/bitcoin,JeremyRubin/bitcoin,myriadteam/myriadcoin,nikkitan/bitcoin,MarcoFalke/bitcoin,pataquets/namecoin-core,qtumproject/qtum,GroestlCoin/bitcoin,ryanofsky/bitcoin,namecoin/namecore,ElementsProject/elements,jnewbery/bitcoin,kallewoof/bitcoin,pstratem/bitcoin,ajtowns/bitcoin,domob1812/bitcoin,namecoin/namecoin-core,ahmedbodi/vertcoin,jnewbery/bitcoin,jlopp/statoshi,lbryio/lbrycrd,ericshawlinux/bitcoin,gjhiggins/vcoincore,Kogser/bitcoin,AkioNak/bitcoin,particl/particl-core,JeremyRubin/bitcoin,nikkitan/bitcoin,mitchellcash/bitcoin,mruddy/bitcoin,alecalve/bitcoin,mm-s/bitcoin,jlopp/statoshi,instagibbs/bitcoin,Xekyo/bitcoin,Sjors/bitcoin,FeatherCoin/Feathercoin,fujicoin/fujicoin,namecoin/namecoin-core,r8921039/bitcoin,sebrandon1/bitcoin,Flowdalic/bitcoin,afk11/bitcoin,jlopp/statoshi,globaltoken/globaltoken,GroestlCoin/bitcoin,sebrandon1/bitcoin,domob1812/namecore,digibyte/digibyte,namecoin/namecore,TheBlueMatt/bitcoin,CryptArc/bitcoin,MazaCoin/maza,bitcoin/bitcoin,tecnovert/particl-core,andreaskern/bitcoin,Bushstar/UFO-Project,MeshCollider/bitcoin,GroestlCoin/GroestlCoin,tecnovert/particl-core,DigitalPandacoin/pandacoin,RHavar/bitcoin,h4x3rotab/BTCGPU,MazaCoin/maza,GroestlCoin/GroestlCoin,jmcorgan/bitcoin,lbryio/lbrycrd,ElementsProject/elements,monacoinproject/monacoin,GlobalBoost/GlobalBoost,mm-s/bitcoin,myriadteam/myriadcoin,mruddy/bitcoin,JeremyRubin/bitcoin,TheBlueMatt/bitcoin,Christewart/bitcoin,litecoin-project/litecoin,sebrandon1/bitcoin,mb300sd/bitcoin,cdecker/bitcoin,cdecker/bitcoin,kallewoof/bitcoin,GroestlCoin/GroestlCoin,instagibbs/bitcoin,jmcorgan/bitcoin,Xekyo/bitcoin,midnightmagic/bitcoin,rnicoll/bitcoin,Sjors/bitcoin,ryanofsky/bitcoin,OmniLayer/omnicore,domob1812/huntercore,litecoin-project/litecoin,EthanHeilman/bitcoin,vertcoin/vertcoin,droark/bitcoin,vertcoin/vertcoin,midnightmagic/bitcoin,Christewart/bitcoin,Kogser/bitcoin,sipsorcery/bitcoin,tjps/bitcoin,TheBlueMatt/bitcoin