Building Qt 6 using Visual Studio
Because this is the environment for Qt as a graphical interface development, heretics have recorded the experience of building Qt 4.6.3 before themselves; However, later, because they decided to get rid of the Qt SDK provided by Qt for construction and factory development, the official knowledge studied how to build it by themselves.
However, ...
Posted by benwilhelm on Tue, 01 Feb 2022 17:20:39 +0100
Qt6 QML Book / network settings / Web Sockets
Web Sockets
The WebSockets module provides an implementation of the WebSockets protocol for WebSockets clients and servers. It mirrors the Qt CPP module. It allows sending a string and binary messages using a full duplex communication channel. A WebSocket is normally established by making an HTTP connection to the server and the server then "u ...
Posted by PHPGuru_2700 on Tue, 01 Feb 2022 05:43:51 +0100
My QT Creator learning notes -- UDP and TCP in network programming
Reference: Qt Creator quick start, Third Edition, edited by Huo Yafei
1,UDP
UDP(User Datagram Protocol) is a lightweight, unreliable, datagram oriented and connectionless protocol, which is used when reliability is not very important. UDP is generally divided into sender and receiver.
QUdpSocket class is used to send and receive UDP datagram ...
Posted by []InTeR[] on Mon, 31 Jan 2022 08:23:40 +0100
QT -- subject 1 examination system
I Create project
Create a new project: 1. Create - > Application - > QT widgets application 2. Give the project a name: ExamSys 3. Select component: MinGW 32bit 4. Select type information: Class name: LoginDialog Base class: qdialog (dialog class)
II Login interface
Control interface
First, in design mode: Add two labels, two bu ...
Posted by The Eagle on Sun, 30 Jan 2022 16:21:17 +0100
Notes on Qt5BLE Bluetooth development under win32
BLE introduction
BLE Bluetooth is a Bluetooth module above Bluetooth 2.0, and classic Bluetooth is Bluetooth below Bluetooth 2.0. Bluetooth is divided into client and server. Classic Bluetooth can communicate between client and server through socket programming (similar to network socket), but BLE Bluetooth cannot communicate in this way. Ther ...
Posted by nev25 on Sun, 30 Jan 2022 13:21:16 +0100
Application analysis of custom signal slot in QT + Example
1. Use of custom signal slot in QT
The signal slot provided by Qt framework cannot meet the needs of our project in some specific scenarios. Therefore, we also design our own signal and slot and use connect() to connect the customized signal slot.
If you want to use a custom signal slot, first write a new class and let it inherit some st ...
Posted by KendersPlace on Sun, 30 Jan 2022 02:31:47 +0100
[Qt chess game] 07_ The beginning of man-machine game algorithm
01 - brief introduction of man-machine game algorithm
previously, we introduced in detail the packaging of chessboard class, the packaging of chess sub class and the implementation of chess walking algorithm of various types of chess pieces. With the foreshadowing in front, we can take the first step of computer intelligent ch ...
Posted by mac007 on Sat, 29 Jan 2022 23:40:38 +0100
PyQt5 learning notes - QWidget learning
QWidget details
1, Description
Base class for all visual controls Is the simplest blank control Control is the smallest element of the user interface Accept various events, mouse, keyboard Draw on the desktop and show it to users Each control is rectangular, and they are sorted in Z-axis order Control is cut by its parent control and the ...
Posted by vidhu on Sat, 29 Jan 2022 14:44:59 +0100
Qt Quick Scene Graph learning 1: draw lines
Qt Quick Scene Graph related documents: https://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html
Refer to the example customgeometry: https://doc.qt.io/qt-5/qtquick-scenegraph-customgeometry-example.html
Complete code link of this article: https://github.com/gongjianbo/MyTestCode2021/tree/master/Qml/LearnQSG_20210614_Line
There are many w ...
Posted by tibiz on Sat, 29 Jan 2022 13:56:29 +0100
Part 2 basic QML components
catalogue
1. Color picker set text
2. Component definition
3,Cell.qml code of QML
4. Master QML file
1. Color picker set text
example:
As can be seen from the above figure, there are six cells with different colors in the lower left corner. Click the Cell to set the color of the text. However, in order to avoid reusing code for each C ...
Posted by dubc07 on Sat, 29 Jan 2022 05:59:43 +0100