Hope it will be useful to someone :-)
So, to call the function we only need to write debug (objectId, 0) whenever we need to debug an object. 0 is because it’s a recursive function, and it indicates the level of formattation
A simple function to debug objects in QML
Hope it will be useful to someone :-)
So, to call the function we only need to write debug (objectId, 0) whenever we need to debug an object. 0 is because it’s a recursive function, and it indicates the level of formattation
Comments