Skip to content

Sofa.Gui error using SOFA v20.21 and SofaPython3 #2748

Discussion options

You must be logged in to vote

Hi @chstetco

SOFA v20.21 does not exist. Did you mean SOFA v20.12? Or v21.12 (the latest one)?

What happens is that your system is using the Qt libraries you installed yourself instead of the ones that are embedded in SOFA binaries. Since you installed a different version than the one expected by SOFA (Qt 5.12.6), it fails with this "version Qt_5" error.

The thing is, your system should use the embedded Qt libs that are located in <sofa-install-dir>/lib.
Please check which Qt libraries are loaded with this command:

ldd <sofa-install-dir>/bin/runSofa | grep "libQt5"

They should all point to the Qt libs in <sofa-install-dir>/lib.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@chstetco
Comment options

Comment options

You must be logged in to vote
2 replies
@hugtalbot
Comment options

@hugtalbot
Comment options

Answer selected by hugtalbot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants