configure: use qtpaths6 instead of qmake6
So we don't have to build qmake6.
Extracted and fixed from !5392 (closed), plus parsing as JSON for cleaner code.
So we don't have to build qmake6.
Extracted and fixed from !5392 (closed), plus parsing as JSON for cleaner code.
VideoLAN code repository instance