ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Open python scripts in QtCreator

asked 2015-03-27 05:36:56 -0600

Mehdi. gravatar image

Using Qt creator for cpp catkin projects is straight forward. However, I have a scripts folder in my package that contains python scripts and it is not shown. As Qt creator can edit and run python scripts, I would like to be able to use it for both cpp and python. How can I do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-30 08:50:34 -0600

Mehdi. gravatar image

To open an additional folder from your package add these lines to CMakeLists.txt

FILE(GLOB random_name "scripts/*.py")
add_custom_target(random_name2 SOURCES ${random_name})

In this example I added my scripts folder containing the python scripts

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-03-27 05:36:56 -0600

Seen: 487 times

Last updated: Mar 30 '15