Introduction to Embedded GUI – AWTK

Introduction to Embedded GUI - AWTK

đŸ”„ Opening Soul Question: Have you been tormented by these GUI development pain points? ** Cross-platform adaptation difficulties: After writing the Windows version, do you have to rewrite it for Linux and embedded devices? Low development efficiency: Changing a button style or animation effect requires modifying dozens of lines of underlying code? High resource consumption: … Read more

Detailed Explanation of Compiler and Operating System Detection Techniques in Cross-Platform C++ Development

Detailed Explanation of Compiler and Operating System Detection Techniques in Cross-Platform C++ Development

In modern C++ cross-platform development, developers often need to write conditional compilation code based on compiler type, compiler version and target operating system. This capability is crucial for compatibility handling, performance optimization, feature enabling (such as C++11/14/17/20), and calling platform-specific APIs. This article will systematically explain how to accurately determine the compiler type, version, and … Read more

Stop Using int and long! The Ultimate Practical Guide to Integer Types in C Language

Stop Using int and long! The Ultimate Practical Guide to Integer Types in C Language

Many students finish learning C language, with their minds filled with short, int, and long. But what if I told you that in today’s professional, especially cross-platform project development, directly using these types, especially long, is often a “suicidal act”? Would you be surprised? Don’t worry, in this article, we will thoroughly explain this issue … Read more

Day 57: Compatibility of Carriage Return and Line Feed in C Language

Day 57: Compatibility of Carriage Return and Line Feed in C Language

Day 57: Compatibility of Carriage Return and Line Feed in C Language The previous lecture detailed asynchronous traps in signal handling, emphasizing that signal handling functions should only perform minimal tasks (such as setting flags), and it is strictly prohibited to call non-asynchronous safe functions. It also pointed out the complexity of signal dispatch in … Read more

ChakraCore: A Powerful C++ JavaScript Engine Library

ChakraCore: A Powerful C++ JavaScript Engine Library

In modern software development, JavaScript has long transcended the boundaries of the browser, becoming an important language for embedded scripting, server-side programming, and cross-platform application development. Embedding a JavaScript engine into native applications can bring great flexibility and dynamic capabilities.ChakraCore is a high-performance, open-source JavaScript engine developed by Microsoft for this purpose, enabling C++ developers … Read more

C++17 Features and Qt Framework: High-Performance Cross-Platform Programmer’s Scientific Calculator

C++17 Features and Qt Framework: High-Performance Cross-Platform Programmer's Scientific Calculator

Welcome to the 【Ultimate Programmer】 WeChat public account 【Knowledge Repository】, specially customized for everyone《Qt C++ Architect》 Series–Qt Project Practical Application Issue 121:This issue will focus on a practical and challenging technical topic–【C++17 Features and Qt Framework: High-Performance Cross-Platform Programmer’s Scientific Calculator】.Whether you are a beginner who has just mastered the Qt cross-platform framework and Linux … Read more

CMake Black Technology: Unifying Windows/Linux/Mac Development Environments with a Single Script

CMake Black Technology: Unifying Windows/Linux/Mac Development Environments with a Single Script

In cross-platform development, developers are often hindered by build scripts: Linux uses <span>Makefile</span>, Windows requires Visual Studio solutions, and macOS needs to accommodate Xcode. If the project team includes both Windows developers and those accustomed to Linux, the environmental differences can be quite troublesome. The value of CMake lies in its ability to generate project … Read more

Choosing a Cross-Platform C++ GUI Framework: Pros and Cons of Qt, ImGui, and U++

Choosing a Cross-Platform C++ GUI Framework: Pros and Cons of Qt, ImGui, and U++

A few days ago, I wrote an article comparing three cross-platform C++ GUI frameworks: Qt, Dear ImGui, and Elements, based on my project experience, discussing their performance and trade-offs in different scenarios. After publishing the article, a reader mentioned in the comments, “Could you also discuss U++?” This suggestion reminded me that while working on … Read more

C_SysInfo: A Command-Line Tool in C for Displaying Current System Information

C_SysInfo: A Command-Line Tool in C for Displaying Current System Information

The C_SysInfo project can actually be seen as a simple translation of the previous PySinfo project. This is a typical scenario where I believe online models and local models are particularly suitable for application – a broad “translation” process: 1.The requirements must be very clear about what needs to be done, and the technical path … Read more

Choosing and Implementing Three Cross-Platform C++ GUI Frameworks: Practical Comparison of Qt, Dear ImGui, and Elements

Choosing and Implementing Three Cross-Platform C++ GUI Frameworks: Practical Comparison of Qt, Dear ImGui, and Elements

When developing C++ desktop applications, the choice of GUI framework almost determines the development experience and subsequent maintenance costs of the project. For the past decade, Qt and wxWidgets have been mainstream, but in recent years, lightweight and modern solutions have begun to enter the developers’ field of vision, such as Dear ImGui and Elements. … Read more