Cannot assign format to QTextEdit.ExtraSelection
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Is this expected behaviour? Qt 5.6 and trunk PythonQt.
Thanks.
That's strange. I am using Qt 5.6 / Python 2.7 and it works for me:
I get this with Qt 5.6 / Python 3.5.
Looking at the relevant code in a debugger,
PythonQtCallSlot()
appears to return failure if the slot hasvoid
result type. The following makes things work:Hm, are you using Python 3.x ? Because with Python 2.7 I can't reproduce your problem...
Yes, Python 3.5
Your fix is correct, but the strange thing is that I do not get the error message printed, as you do...
I fixed it on svn trunk.