Use ROS in a Qt application [closed]

asked 2015-05-11 09:36:08 -0500

DarkPatate gravatar image

Hello,
I made a Qt application and now I would like control a bot with it. Unfortunately, I didn't find how use ROS library with Qt. All what I found didn't work.

Firstly, I tried to add simply the librairy in the .pro, without success :

unix:!macx: LIBS += -L$$PWD/../../../../../../opt/ros/indigo/lib/ -lroslib

INCLUDEPATH += $$PWD/../../../../../../opt/ros/indigo/include
DEPENDPATH += $$PWD/../../../../../../opt/ros/indigo/include

Secondly, I followed this tuto, but the compilation failed.
Thirdly, I read this tuto, but I don't know where put my files.

Moreover, I need a .pro in order to use the QtNetwork unit. How simply set QtCreator to use a ROS class? And I didn't understand how the CMakeLists.txt file works.

Thanks in advance,
best regards.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-04-10 20:11:07.844495