is this code good for error detection in qml?
-
Hi, i was wondering if this is the correct way to catch errors? i seem to be getting nothing but my program still doesnt function
Item { signal errorOccurred(string errorString) onErrorOccurred: { console.log("Error occurred:", errorString); } }Do you emit your signal anywhere? If not, then your slot will never be called.