Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem running pyside2 example in Linux



  • I followed this llink: https://wiki.qt.io/Qt_for_Python/GettingStarted/X11
    and got pyside2 built.

    When I tried to run example from the pyside2:

    python examples/widgets/widgets/tetrix.py
    

    I got the following error:

    ImportError: /usr/local/lib/python3.5/dist-packages/PySide2/libpyside2.cpython-35m-x86_64-linux-gnu.so.5.11: symbol qt_version_tag, version Qt_5.11 not defined in file libQt5Core.so.5 with link time reference

    what can I do to fix this?



  • Hello,
    do you have some logs related to the build process?
    It seems to me that there is a mismatch between Qt and PySide2 versions.

    Which version of Qt did you use?
    and which branch of PySide2?


Log in to reply