Why qtcreator cannot find catkin packages?[SOLVED]
These are workspaces that could be successfully catkin_make in ternimal. I sourced the workspace in terminal and then launched qtcreator. But qtcreator still cannot find many catkin packages. I do not know why terminal ould find all the packages but qtcreator cannot.
Ubuntu 16.04 QtCreator version : Qt Creator 4.5.1 based on Qt 5.10.0
ROS Kinetic(if this is any pertinent)
Did you setup build directory and so on when you open your project in qt?
I do not see options to setup build directory. If you mean going to tools->options->Build & Run->General->Directory, yes i did. Could you give me a link to what you are mentioning??
The error i get usually is related to catkin components. for example CMakelist.txt: find_package(catkin REQUIRED COMPONENTS):
Error: CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "cv_bridge" ...
I figured out what was lacking. I solved it by adding /opt/ros/kinetic to CMAKE_PREFIX_PATH in Project -> build environment