configure: add check for Qml runtime modules
Check is written in python as qt's tool qmlimportscanner outputs uses JSON format
This should work for cross compilation too.
fix: #28392 (closed)
rev 2: removed check for QtQuick.Shapes
, dependency is not present in some CI and we don't use it
Edited by Pierre Lamot