Uwe Siems

Results 9 comments of Uwe Siems

Modifying the return value is out of the question in my opinion, too many users might check for an invalid return value. Emitting a signal or using a callback would...

Indeed, QMetaType::typeName(metaTypeId) should be used instead of innerType->className().constData(), like in the methods above. I guess this never was a problem because these methods really are only used with known classes.

It seems you are not linking to the Python library. As you already set INCLUDEPATH to your Python distribution, you probably need to set LIBS, too.

The stacktrace alone is insufficient to guess the cause of this crash, I'm afraid you need to look at the state of the used variables in a debugger to determine...

This is just a hunch, but you could try to revert the changes done by Gregor Anich to fix some memory leaks and see if this helps. Perhaps one of...

I have created a branch "revert-refcount-fixes" in which the relevant commits are reverted (but I spared the changes to python.prf, since I don't believe that they caused this problem). I...

No, this will not do. This code assumes that every Qt object lives in the main thread, which is an invalid assumption. One can start new Qt threads with their...

When taking the above example, you can always do `QDoubleValidator.setRange(self, minimum, maximum, decimals+1)` instead.

`QPlainTextEdit(self).sizeHint` is probably not what you want; this should create a new QPlainTextEdit with your instance as the parent. `QPlainTextEdit.sizeHint(self)` would be the correct solution, but PythonQt seems to treat...