- 博客(4)
- 收藏
- 关注
原创 ubuntu在qt中使用zmq订阅发布demo(c++)
1、安装libzmpsudo apt-get install libzmq3-dev2、下载官网demogit clone git://github.com/imatix/zguide.git3、使用qt创建c++文件发布者文件部分:.pro文件:文件最后一行添加LIBS += -lzmqTEMPLATE = appCONFIG += console c++11CONFIG -= app_bundleCONFIG -= qtSOURCES += main.cppLIBS +=
2020-07-27 15:00:32
977
转载 使用QT进行ROS的GUI界面设计/ qt中qmake与ros结合
1、使用qtcreator-ros(包含ros插件)在qt程序中加入ros插件,用.pro配置文件;在.pro文件的结尾添加(我使用的ubuntu1804所以是melodic):INCLUDEPATH += /opt/ros/melodic/includeDEPENDPATH += /opt/ros/melodic/includeLIBS += -L/opt/ros/melodic/lib -lroscpp -lroslib -lrosconsole -lroscpp_serialization -
2020-07-09 13:34:13
978
原创 qt-ros程序添加QCustomPlot插件
我运行qt-ros程序时一般先catkin_make,然后使用qt中的cmake进行编译运行的,所以有些配置方法与单纯的qt程序不一样1、官网下载QCustomPlot.tar.gz,将qcustomplot.cpp和qcustomplot…h添加到工作目录下https://www.qcustomplot.com/index.php/download2、qt文件是在.pro文件中QT += core gui serialport printsupport network对应CMakeLists.tx
2020-07-09 11:49:32
551
1
原创 Could not find a package configuration file provided by “qt_build“ with any of the following name
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):Could not find a package configuration file provided by “qt_build” with anyof the following names:qt_buildConfig.cmakeqt_build-config.cmakeAdd the installation pr
2020-07-06 17:04:22
735
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人