We have a set of external variables that will be available in QML via the setContextProperty() and the Q_Property Makro.
We have a situation involving possibly thousands of variables that could possibly be used in QML by a User. (The User will work with the QtCreator in QML Design mode). It would be very nice to know in advance which of the variables the user has actually used in his qml file.
Is there a way to achieve this? As far as I know, contextProperties have to be set, before the QML Source is given. Is word search in my qml file the only option?
Thank you
↧