Build bitcoin-qt with cmake
Summary:
The method used is rather byzantine. It basically parse the prl files used for Qt internal build system to figure out dependencies as dependencies for cmake files produced by Qt are incorrect.
The solution come from https://bugreports.qt.io/browse/QTBUG-38913 and, interestingly, is used within QtWebkit.
Test Plan:
ninja
Check that bitcoin-qt builds.
Reviewers: #bitcoin_abc, jasonbcox
Reviewed By: #bitcoin_abc, jasonbcox
Subscribers: teamcity
Differential Revision: https://reviews.bitcoinabc.org/D1826