-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Calling a QObject signal from python doesn't work! #98
Comments
Can you post a Short, Self Contained, Correct Example that demonstrates the issue? Also, in Qt when calling signals, AFAIR it just "emits" the signal, so you have to connect something to the signal for it to work. In QML, see this: http://doc.qt.io/qt-5/qtqml-syntax-signals.html#connecting-signals-to-methods-and-signals |
I'm running "test.qml" in a slightly modified "qmlscene"-kind of a program, more suited for my embedded platform. But the program just adds Pyotherside's import path to the QML Engine, and sets some QPA parameters. Also, Pyotherside is compiled against musl-libc. Here is the test I ran, I can't make it more self-contained than that. I also tried using the "onCallSignal" handler, it still wouldn't work. test.qml : https://pastebin.com/KuQFRbdf
|
Thanks for that, the |
Wow, you're welcome! I didn't expect that this would result in a bug fix, and so quickly. Thank you!!! |
Calling a regular method works, calling a signal doesn't. It prints: RuntimeError: QObject method call failed
Is this normal?
The text was updated successfully, but these errors were encountered: