Example of Communication Between Qt C++ and Python Using ZMQ

Example of Communication Between Qt C++ and Python Using ZMQ

Below is a complete example demonstrating how to use ZeroMQ for communication between a Qt C++ application and a Python script. This example uses the REQ-REP pattern, where the Qt C++ client sends requests to the Python server and receives responses. Preparation First, install the necessary dependencies: # Install ZeroMQ C++ library sudo apt-get install … Read more

Cloud Platform Target Tracking Control Module Based on Huawei Ascend 310 Atlas

Cloud Platform Target Tracking Control Module Based on Huawei Ascend 310 Atlas

Click the blue text to follow us! 01Project Name Cloud Platform Target Tracking Control Module Based on Huawei Ascend 310 Atlas 02Project Initiator Beijing Information Science and Technology University, School of Information Management, Artificial Intelligence Security Team 03Project Goals To develop a cloud platform target tracking control module based on Huawei Ascend 310 Atlas. 04Specific … Read more

CMake: Detecting External Libraries – Using pkg-config

CMake: Detecting External Libraries - Using pkg-config

Introduction: In the previous articles, we have basically understood how to link a third-party library. This article and the next will supplement two methods for detecting external libraries. So far, we have learned two methods for detecting external dependencies: Using the built-in CMake find-module, but not all packages can be found in the CMake find … Read more

CMake: Detecting External Libraries – Custom Find Module

CMake: Detecting External Libraries - Custom Find Module

Introduction: In the previous article, we learned about one method of custom detection of external libraries in CMake. This article will demonstrate how to locate the ZeroMQ library on the system by writing a find module, enabling detection of this library on non-operating systems. ✦ Project Structure ✦ . ├── CMakeLists.txt ├── FindZeroMQ.cmake ├── zmq_client.cpp … Read more

CMake Advanced: Four Strategies to Master External Library Finding, No More Worries About Missing Dependencies!

CMake Advanced: Four Strategies to Master External Library Finding, No More Worries About Missing Dependencies!

Click the blue text to follow the author 1. Introduction: Checking External Libraries In CMake, there are two main methods to locate external dependency libraries: Using CMake’s built-in<span>find_package</span> module: CMake provides built-in find modules for many common libraries (e.g., <span>FindBoost.cmake</span>, <span>FindOpenSSL.cmake</span>, etc.). These modules can usually automatically detect the installation paths of libraries, header files, … Read more

Middleware in Embedded Linux – ZeroMQ

Middleware in Embedded Linux - ZeroMQ

cppzmq is an open-source C++ library based on ZeroMQ, used for building distributed and concurrent applications. It provides a simple interface for communicating with ZeroMQ message queues. This article will introduce the basic concepts, common patterns, and example code of cppzmq. Basic Concepts 1. ZeroMQ: ZeroMQ is a lightweight messaging library that allows applications to … Read more