when I try to launch qtcreator"qtcreator" on bash,,I get the following warning "QXcbConnection: Could not connect to display Aborted (core dumped)"
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?
You cannot use
rosrun
for qtcreator since it is not a ROS package. Just try runningqtcreator
after running the export command.