Have you rebuild the whole project after you added Q_OBJECT ?
Oh sorry, I feel like an idiot now.
I’ve rebuilt the whole project, and it runs perfectly.
But when I click on the button I get this in the debugger:
qrc:///main.qml:80: ReferenceError: _myClass is not defined
<~ Same main problem.
↧