Port from query_qmake() to ecm_query_qt()
That's proper public API rather than accidentally leaked implementation details, and also works with Qt6.
That's proper public API rather than accidentally leaked implementation details, and also works with Qt6.