How to Develop a Desktop Software Using Qt, VS, and C++ (Simple, Fun, Detailed)

How to Develop a Desktop Software Using Qt, VS, and C++ (Simple, Fun, Detailed)

Currently updated to the point where we can write a calculator [The interface can be seen at the end]. ① This tutorial is suitable for Recommended readers: Beginners in VS + QT. ② Prerequisite installation VS2019 or 2022 Community Edition (This is too simple, so I won’t write it here!) It is recommended to refer … Read more

Qt/C++ Interview Notes [Quick Reference Four] — MVC Pattern in Qt

Qt/C++ Interview Notes [Quick Reference Four] — MVC Pattern in Qt

Click the topPublic Account to follow us~ In software development, design patterns are tools that help make code structure clearer, more maintainable, and extensible. The MVC (Model-View-Controller) pattern is one of the classic design patterns widely used in graphical user interface (GUI) applications. Qt, as a powerful cross-platform development framework, also adopts the MVC pattern … Read more

[S7-1200]: MQTT Protocol Communication with Siemens PLC for IoT Environmental Monitoring

[S7-1200]: MQTT Protocol Communication with Siemens PLC for IoT Environmental Monitoring

[S7-1200]: MQTT Protocol Communication with Siemens PLC for IoT Environmental Monitoring Application Overview Hello friends! Today I want to share an amazing project with you—using the Siemens S7-1200 PLC to achieve IoT environmental monitoring through the MQTT protocol! Imagine, your PLC not only controls the equipment in the factory but also uploads environmental data (such … Read more

How Data Flow Works in Message Queue Telemetry Transport (MQTT)

How Data Flow Works in Message Queue Telemetry Transport (MQTT)

Translator | Li RuiReviewer | Sun ShujuanThe data created by humans on the internet and computers is not always accurate; human typing, scanning, photographing, or recording is not always reliable. But what if there are sensors on machines that collect data and can communicate with other machines? What if there is a protocol that allows … Read more

Running Qt on VxWorks: A Powerful Combination for Embedded Development

Running Qt on VxWorks: A Powerful Combination for Embedded Development

With the widespread application of embedded systems in industries such as aerospace, automotive, and industrial automation, developers are increasingly demanding high-performance real-time operating systems (RTOS) and modern graphical user interfaces (GUIs). VxWorks, as a mature RTOS, is known for its high reliability, low latency, and high security, while Qt is favored by embedded developers for … Read more

Security Analysis of MQTT Protocol

Security Analysis of MQTT Protocol

MQTT Protocol 1.1 Introduction MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol designed for low-bandwidth, high-latency networks. It provides real-time, reliable messaging services for remote devices with minimal code and bandwidth usage. MQTT operates over TCP and is classified as an application layer protocol. 1.2 Message Format A fixed header, a variable header, … Read more

MQTT in Industry: The Role of MQTT Protocol in Data Acquisition in the Oil Industry

MQTT in Industry: The Role of MQTT Protocol in Data Acquisition in the Oil Industry

Overview of MQTT Protocol MQTT is a standard messaging protocol for the Internet of Things (IoT). It is designed as a very lightweight publish/subscribe messaging transport, making it ideal for connecting remote devices with minimal code footprint and network bandwidth. The MQTT protocol has the following characteristics: Lightweight and Efficient: The MQTT client is very … Read more

Creating and Deleting Directories in C++

Creating and Deleting Directories in C++

1. Description If the compiler supports C++17, it is recommended to use the <span>std::filesystem</span> related functions If used only on Windows platform, you can use <span>_mkdir</span> and <span>_rmdir</span> If used only on Linux platform, you can use <span>mkdir</span> and <span>rmdir</span> If the code needs to be cross-platform, you can use system calls to unify If … Read more

Developing a Simple Web Browser with C++

Developing a Simple Web Browser with C++

Developing a Simple Web Browser with C++ This article will show you how to develop a simple web browser using C++. We will use the Qt framework to handle the graphical user interface (GUI) and network requests. Before we begin, ensure that the Qt SDK is installed on your system. Environment Setup Download and install … Read more

Configuring Buildroot for QT, Remote Deployment, and Landscape Display

Configuring Buildroot for QT, Remote Deployment, and Landscape Display

1.Configuring QT in Buildroot 1.Open the configuration interface. ./build.sh buildroot-config 2.Use the arrow keys ↑↓ to navigate and select Target packages Press Enter to enter 3.Use the arrow keys ↑↓ to navigate and select Graphic libraries and applications (graphic/text) Press Enter to enter 4.After entering, use the arrow keys ↑↓ to find Qt5, press the … Read more