when I try to launch qtcreator"qtcreator" on bash,,I get the following warning "QXcbConnection: Could not connect to display Aborted (core dumped)"

asked 2018-06-22 08:30:51 -0500

arunprasath.k gravatar image

when I try to launch qtcreator"qtcreator" on bash,,I get the following warning "QXcbConnection: Could not connect to display Aborted (core dumped)" ,actually I use windows 10 n by subsys linux ubuntu I use terminal window.but when I try to launch qtcreator Im having this warning, I tried "export DISPLAY=:0" & "rosrun rviz rviz" code which helped me sort out same problem when launching rviz.but when I try the same way "export command n "rosrun qtcreator qtcreator" " it shows qtcreator not found.please help,is there anything wrong with my code?

edit retag flag offensive close merge delete

Comments

You cannot use rosrun for qtcreator since it is not a ROS package. Just try running qtcreator after running the export command.

kartikmohta gravatar image kartikmohta  ( 2018-06-22 21:18:10 -0500 )edit