Hi, i’ve declared a singleton class and registered in with
qmlRegisterSingletonType<presbiopia>("MyClass", 1, 0, "Class",classProvider);
where classProvider simply return an instance of MyClass
then in qml i declare
import MyClass 1.0
and it gives me error such QML module not found, but if i try to call Class.property of a property i declared works fine, even with methods. Just it gives me no hints.
Already tried to clean and build the project.
Just annoying i know, it works, but is there anyone who as encountered this.
Thanks A lot!
ICAP.
↧