1. content about QT applications:
Refer to the previous article: [QT Summary] terminal remote client upgrade
2. Upgrading files is a processing method in hex format: for files in hex format, If You Want To directly read the files, you need to: 1. Read data 2. Find the required data (this step is cumbersome !) 3. Package the required data 4. The complexity of sending is determined by the format of the Hex file, for example :[: [Data Length domain ll] [address domain AAAA] [record type domain TT] [data domain dd...] [verify domain CC]
So, can it be unnecessary? Think about single-chip microcomputer. When burning a program, it can be either a HEX file, a bind file, or other files. Then, convert the Hex file into a binfile and then directly read it, avoid tedious hex analysis and search.
Then, how to convert? Or, the conversion software requires extremely high accuracy and reliability. According to the experience of playing stm32, think of seffer J-FLASH, easy to use!
3. Application EXE icon Problems
See: Click to open the link
Step 1:
First of all, you must prepare a. ICO icon file (Suppose it is qtdemo. ico) and copy it to the project directory (the directory where the. Pro file is located ).
Step 2:
In QT creator, CTRL + N or file-new file or project, select text file in general, and enter the name as the. RC file (such as qtdemo. Rc). Write only one line in it:
Idi_icon1 icon discardable "myicon. ICO"
Step 3:
Edit the. Pro file, which should include:
Other_files + = \ qtdemo. RC
Add another row under it (if there is no content above ):
Rc_file = \
Qtdemo. RC
Step 4:
Re-compile. All done!
4. Package applications: EXE and required DLL files
For more information, see: how to package the EXE generated by the QT dynamic link and the dependent DLL.
[QT Summary] Final Summary