-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with register of object instance #2
Comments
switching to the as C: markt implementation works. File: /qmleas/application/register.py:104 # noinspection PyTypeChecker
qmlRegisterSingletonInstance(__class__, namespace, 1, 0, name, qobj) |
The latest formal version of qmlease (v3.0.3) doesn't test cover pyside6 v6.5+. The I released a beta version to fix these problems. Please try: pip install http://likianta.pro:2006/qmlease/qmlease-3.0.4b1-py3-none-any.whl It should work on the following example: # test.py
from qmlease import QObject, app
class A(QObject):
pass
app.register(A(), 'AAA', 'PyAAA') If no problem, I will publish the formal version v3.0.4 soon possible 😊 |
It work for me. |
There was some commented code indicated I had used I guess the main reason of using |
I cant register instances under a custom namespace and name.
Env:
if i try to register a instance.
i get this error in /qmleas/application/register.py
it seems like the registration of a instance to a namespace is not realy implemented or expected.
The text was updated successfully, but these errors were encountered: