[QT Summary] Final Summary

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.