Type error
-
I'm trying to test a class called SimpleBackend , it has a Q_Property bool co
In one of my tests im doing this :bool conn = machine.co; // machine here is an instance of SimpleBackendand have this output :
error: cannot convert 'SimpleBackend::co' from type 'bool (SimpleBackend::)()' to type 'bool'Can someone tell me how to solve this please ?
Thx -
I'm trying to test a class called SimpleBackend , it has a Q_Property bool co
In one of my tests im doing this :bool conn = machine.co; // machine here is an instance of SimpleBackendand have this output :
error: cannot convert 'SimpleBackend::co' from type 'bool (SimpleBackend::)()' to type 'bool'Can someone tell me how to solve this please ?
Thx