klauer/qtpynodeeditor

`QFontMetrics.horizontalAdvance()` is introduced in Qt-5.11

Opened this issue · 0 comments

QFontMetrics.horizontalAdvance() is introduced in Qt-5.11. It's a rather new version, not always available in stable repos. For example in latest Anaconda, just PyQt-5.9 LTS conda package is provided, which is required by spyder4 etc, so pip-installing newer PyQt is not an option. So to use qtpynodeeditor in stable Anaconda this commit would be better reverted.

Originally posted by @NovA80 in #36 (comment)