How can I use Qt 5 with ROS catkin?
I'm able to use qt_ros, but it creates package depending on Qt4, but I need Qt 5.1 or older to use QSerialPort. How can I do it? Is it a bad idea?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
I'm able to use qt_ros, but it creates package depending on Qt4, but I need Qt 5.1 or older to use QSerialPort. How can I do it? Is it a bad idea?
please see this question and change
find_package(Qt4 COMPONENTS QtCore QtGui)
to
find_package(Qt5 COMPONENTS QtCore QtGui)
This was not possible in Qt5.0 and you had to call find_package() seperately like: find_package(Qt5Widgets) find_package(Qt5Declarative) https://www.kdab.com/using-cmake-with...
Asked: 2014-03-05 06:32:11 -0500
Seen: 6,329 times
Last updated: Mar 05 '14