Closed ildar-gilmanov closed 5 years ago
Those are effectively leftovers from before the service split - none of this works in QML anyway due to RemoteObjects, as the only things available there are the ones found in the replicant version of each class. So, i'm going to interpret this bug as "remove the left over Q_PROPERTY statements" because, well, we just don't (and can't) use them anyway ;)
We should register objects to QML by using
qmlRegisterType<>()
method and send C++ classes to QML instead ofQObject*
. It will give us tips from QtCreator when we work with QML code.For example, use this
instead of this: