Qt5+OpenGL ES2.0 realizes color cube display, zoom, rotation and drag translation

Record the problems and solutions encountered in the development of Qt learning Environment: qt5.12.9 qtcreater4.12.2 mingw7.3.0 Considering the low efficiency of using OpenGL fixed pipeline to draw images, I have always wanted to learn to use OpenGL ES2.0 for image rendering. There are not enough reference materials on the Internet, and I la ...

Posted by QuietWhistler on Thu, 11 Nov 2021 08:30:24 +0100

Qt5 Write a Notepad (Multi-Document Editor)

Catalog I. Preparations 1.1 Create a project 1.2 Create a resource file (myimages.qrc) 1.3 Create an interface file (mainwindow.ui) 2. Implementing Functions 1.1 New c++class 1.2 MainWindow class code is as follows 1.3 Principal Functions 3. Procedure Release           summary Use qt5 to write a project wit ...

Posted by jason.carter on Wed, 10 Nov 2021 19:47:25 +0100

C + + Experiment 2 inheritance and polymorphism

Experimental environment Operating system: win10 gcc: 8.1.0 Development software: qt5.14.2 Experimental content 1, Inheritance access test Design member functions or variables of class A with different attributes such as public, protected and private; Class B inherits A through public, protected, private and other ways, and tests the mem ...

Posted by jd72 on Wed, 03 Nov 2021 06:04:29 +0100

QT5 Baidu map development and learning - Preparation

QT5 Baidu map development and learning - Preparation 1. Environmental construction First of all, it should be clear why MSVC environment is used when QT and Baidu map API are used, because the compiler MinGW of QT does not have webenginewidgets module (that's why). However, this environment is not well configured. Recently, this problem bothe ...

Posted by theCro on Sun, 31 Oct 2021 12:58:06 +0100

Qt model / view - a simple example

This article will describe the relationship between model, view and delegate in Qt and their respective usage through a simple example (variable viewing window in low configuration version). 1 function introduction This paper imitates the variable view window of IAR and makes a variable view window of low configuration version. The effect ...

Posted by *Lynette on Sat, 30 Oct 2021 18:18:41 +0200

Qt5.14+VS2017+MySQL environment construction

Note: This article does not teach how to download and install software, but only provides installation precautions and environment construction methods. Please change all file paths involved in this article according to your actual installation location, which will not be repeated below. 1, Documents to be prepared before setting up t ...

Posted by ok on Thu, 21 Oct 2021 19:43:29 +0200

qt and python named pipe based interprocess communication example

qt and python named pipe based interprocess communication example summary Named pipes is a simple inter process communication (IPC) mechanism, which is mostly supported by Microsoft Windows (excluding Windows CE). Named pipes can support reliable, one-way or two-way data communication between different processes of the same computer or be ...

Posted by joma on Sun, 10 Oct 2021 07:03:41 +0200

Qt uses gSoap to implement web service server and client

Qt uses gSoap to implement web service server and client gSoap official website. In case of problems, the official website is often the most helpful place. download Official documents Links worthy of reference. gSoap usage experience: http://www.cppblog.com/qiujian5628/archive/2008/10/11/54019.htmlgSoap interface definition ...

Posted by anon_login_001 on Sat, 09 Oct 2021 06:51:52 +0200

Learning records of source code analysis

2021SC@SDUSC Since this week, our team has officially launched the analysis of Dust3D source code. After group discussion, we roughly divided the files into three modules: model construction, bone and animation, rendering and material according to the file name of the open source project. Among them, we speculate that the file beginning with m ...

Posted by enkidu72 on Sat, 09 Oct 2021 01:42:57 +0200

Qt based OpenGL: QOpenGLShaderProgram and GLSL

Qoopenglshaderprogram encapsulates the compilation process of ShaderProgram. Whether it is loading SourceCode or SourceFile, Qt encapsulation is very good. If it is not encapsulated, the code will be written into the string as shown in the figure below. There is no color identification, and there must be a newline character on each line, which ...

Posted by jabba_29 on Sun, 03 Oct 2021 20:30:23 +0200