User Activity

  • Posted a comment on discussion Open Discussion on PythonQt

    Moved to https://github.com/MeVisLab/pythonqt/pull/1

  • Modified a comment on discussion Open Discussion on PythonQt

    Hi, Background When running some Python code from PythonQt the other day, I got a segfault in PythonQtConversion.cpp. It turned out that when an Enum based class is processed by PyObjToQVariant, it's recognised as a sequence (since it's possible to iterate over an Enum in Python), but PySequence_GetItem returns nullptr when the loop gets the value to add to the QVariantList, causing the segfault when calling PyObjToVariant with a null pointer. Unless Enums should be treated in a special way, I assume...

  • Modified a comment on discussion Open Discussion on PythonQt

    Hi, Background When running some Python code from PythonQt the other day, I got a segfault in PythonQtConversion.cpp. It turned out that when an Enum based class is processed by PyObjToQVariant, it's recognised as a sequence (since it's possible to iterate over an Enum in Python), but PySequence_GetItem returns nullptr when the loop gets the value to add to the QVariantList, causing the segfault when calling PyObjToVariant with a null pointer. Unless Enums should be treated in a special way, I assume...

  • Posted a comment on discussion Open Discussion on PythonQt

    Hi, Background When running some Python code from PythonQt the other day, I got a segfault in PythonQtConversion.cpp. It turned out that when an Enum based class is processed by PyObjToQVariant, it's recognised as a sequence (since it's possible to iterate over an Enum in Python), but PySequence_GetItem returns nullptr when the loop gets the value to add to the QVariantList. Unless Enums should be treated in a special way, I assume that the best is to handle them as "normal" classes. In order to...

  • Posted a comment on discussion Help on PythonQt

    Please see attached patches for building with Qt 5.9.1 under Debian.

  • Posted a comment on discussion Open Discussion on PythonQt

    Regarding configure_python.patch, how about removing the line PYTHON_VERSION=$$(PYTHON_VERSION)? Then PYTHON_VERSION can be selected by setting it as a parameter to qmake instead of exporting it as an environment variable.

  • Posted a comment on discussion Open Discussion on PythonQt

    The patch (with Unix and Windows line endings).

  • Posted a comment on discussion Open Discussion on PythonQt

    Here is a patch to create pkg-config files when building for Linux.

View All

Personal Data

Username:
erik_lundin
Joined:
2008-11-23 23:08:57

Projects

This is a list of open source software projects that Erik Lundin is associated with:

  • MBM   Last Updated:

Personal Tools

MongoDB Logo MongoDB