-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot mix incompatible Qt versions #1431
Comments
When you installed rviz from binary packages (via |
Thanks! Any ideas why it gave me the incompatible Qt library error message then when I just installed through apt or how could I fix it? I thought because it was expecting a later version of Qt than the Ubuntu default so I installed 5.13.1, but as you say this was not the issue? |
Probably you had another Qt version installed in your system and included via |
Fantastic! That was it, thank you. For reference : VRep seemed to be the issue. When I cleared the LD_LIBRARY_PATH of the path to v-rep, it started working, so it probably uses its own version of Qt, and points to it via LD_LIBRARY_PATH. |
I met the same problem, how did you clear the LD_LIBRARY_PATH? I commented out it in .bashrc, but it does not work. |
When you updated .bashrc, you need to create a new terminal first to get the updated environment. |
Yeah Thank you so much. this worked for me. I commented those lines in the .bashrc file and the issue was solve |
@yquantao how can i use vrep and rviz together |
@lgzid, simply don't set a default |
@rhaschke |
You should remove the LD_LIBRARY_PATH setting from your
Create a separate script |
@rhaschke I found the problem in the third line:
When I cleared it, rviz and vrep worked normally.But the pyrep doesn't work because it can't find the path to QT. I just tried your approach, but it still hasn't worked.
coppeliasim.sh:
|
Then just set the QT_QPA_PLATFORM_PLUGIN_PATH variable just for pyrep in a similar fashion as described above. |
Following the installation instructions form here , I installed rviz and run
rosrun rviz rviz
And I get the following output:
It seems that I need to upgrate Qt to version 5.13 from 5.95, but even after following the instructions from here:
default.conf
to point to the newly installed version of Qt,the result is the same and when I run rviz the output is the same.
I am quite new to ROS and Rviz, any help in how to fix this would be much appreciated!
I am running the following:
qtchooser -l
givesqmake --version
points to the (correct) newly installed version of QtThe text was updated successfully, but these errors were encountered: