This experience is mainly the author of the development of the QT program in the development of the problems encountered, and now share to everyone, mainly in QT embedded like resource files.
Please leave a message if you have any questions.
Tools/Materials
Qt Designer
Qt Open Source 4.8.5
Method/Step
In QT Designer, if you want to add some of the graphic symbols, icons and other resources when you design the UI interface, you need to write the QRC file in the QT development directory.
The QRC file is a file that is similar to XML format and can be created manually.
First, wear a txt text, and then type the format as shown. Add the resource file you want, and then modify the file suffix to. qrc.
The first thing to do is to open the QT designer and then open the resource manager.
Select the location of the QRC file you created.
When you open it, you can load the photo file you want, and click the button to edit the resource.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
How QT and QT Designer join a resource file