Qt6 Documentation Reading Notes – Simple Http Server Analysis

Qt6 Documentation Reading Notes - Simple Http Server Analysis

This blog post demonstrates how to create a simple HTTP service using Qt6. This example shows how to establish a server using the QHttpServer class. The server listens on a TCP port using the bind() function of QTcpServer and adds different URL handlers using the route() function. QSslConfiguration conf = QSslConfiguration::defaultConfiguration(); const auto sslCertificateChain = … Read more

Implementing DDD with ORM and PyQt6 Using MySQL

Implementing DDD with ORM and PyQt6 Using MySQL

SQL: create table School # Create table( `SchoolId` char(5) NOT NULL comment 'Primary key, school number', # Manually input, can also be designed to auto-increment, 5 characters, numeric, or a combination of numeric and characters, with code restrictions when saving data in text. `SchoolName` nvarchar(500) NOT NULL DEFAULT '' comment 'School name', `SchoolTelNo` varchar(8) NULL … Read more