Qt combined with Visual Studio compilation, packaging and publishing

1,qt Find qt dynamic link library used in the project; The steps are as follows ① Open the windeployqt tool used by the project (qt's own tool); ② Enter the directory where the folder is located; Using the cd command ③ Use the command: windeployqt name Exe (execute the command in the directory where the target folder is located)   ...

Posted by bri0987 on Thu, 17 Feb 2022 16:41:32 +0100

Qt plug-in development summary -- plug-in manager

1, Foreword Plug in development summary - creation and use of plug-ins This article shows how to use QT low API plug-in example in QT. However, this can not meet the actual scenario of large-scale applications and has no scalability. The communication between plug-ins, loading and unloading (releasing memory), plug-in metadata, plug-in lif ...

Posted by wshell on Thu, 17 Feb 2022 10:58:38 +0100

Graphics View framework for Qt learning (realizing startup animation)

catalogue 1, Realization effect 2, Brief introduction to elements, views and scenes 1. Interrelationship 2. Header file          3. Implementation process 3, Code implementation 1. Customize an Item (element) 1.1. Create a new class myItem, which inherits from QGraphicsItem 1.2. myItem header file (. h) 1.3 overloaded constructor 1.4 ...

Posted by amylou on Wed, 16 Feb 2022 02:24:05 +0100

Notes - signals and slots

Notes - signals and slots Event driven model Event driven model Qt event mechanism Principle and implementation of signal and slot Principle and implementation of signal and slot QMetaObject:: activate The SLOT and SIGNAL macros will use the precompiler to convert some parameters into strings and add encoding in front. In the debugging mo ...

Posted by fuii_koh on Sun, 13 Feb 2022 08:13:14 +0100

Qt compiling map comprehensive application 57- cross platform (win, linux, mac, uos, kylin, etc.)

1, Foreword Cross platform really spent a lot of energy to start from Qt4 7 compatible to Qt6 2 and subsequent versions have lost a lot of hair, and only a few hairs are left. Hey, maybe this is the life of programmers. I have written Qt programs for so many years and prefer to support multiple Qt versions, especially for supporting any Qt ver ...

Posted by almora on Sun, 13 Feb 2022 03:11:49 +0100

Qt learning notes - signals and slots

Default signals and slots case Click my button to close the windowThe description of the signal may not be found in QPushButton. You can find it from the parent class. The child class will inherit the signal of the parent class signal groove   Demonstration code //Click my button to close the window //Parameter ...

Posted by georgen on Sat, 12 Feb 2022 14:03:22 +0100

Qt C + + ListView basic class encapsulation with navigation function 1

Under the mountain front bridge, there is a fool. A pupil, living in seclusion in a barren mountain. I have a group of dogs and a cat. Like programming, lack of money to do odd jobs. Mathematical history, French in mind. He can cook and wave. Statement: I'm not a professional Qt developer. The project needs a localized system scenario. Therefo ...

Posted by netman182 on Sat, 12 Feb 2022 05:23:09 +0100

Qt compilation of map comprehensive application 56 - real time dynamic trajectory

1, Foreword The real-time dynamic trajectory has undergone many versions of iteration. This function was originally customized by customers. It mainly needs to dynamically display the motion trajectory of GPS on the map. One application scenario is a car with monitoring. In real time, the longitude and latitude information can be received in t ...

Posted by Swede78 on Fri, 11 Feb 2022 20:41:01 +0100

Design and implementation of computer network course design and network chat program

Experimental topic Design and implementation of network chat program Experimental purpose 1. Understand Socket The principle of communication, learn to use Socket for simple network programming, and write a chat program on this basis. 2. Understand Qt programming and be familiar with C + + language. overall design 1. Background knowledge So ...

Posted by intenz on Fri, 11 Feb 2022 09:24:44 +0100

Fish on time, close the net on time, and Python realizes the countdown after work! Never work overtime

  Have you ever had time to fish In the Internet circle, it is often said that 996 work system, but there are also 965, especially 007, and 007 feels like an ICU. Therefore, everyone will sneak around and occasionally touch fish. There are many ways to fish. Have you ever fished at work? What did you do during your fishing time? If you fini ...

Posted by silverspy18 on Thu, 10 Feb 2022 11:51:44 +0100