In Qt, the. qrc file is a file that resembles an XML structure that describes the resource locations, examples, application icon files, and so on, used by the application in structured data. It is ultimately similar to the. ui files that are generated by the command line tool provided by QT. qrc_xxx.cpp file. is eventually linked to the application.
The corresponding command line is this:
"$ (Qtdir) \bin\rcc.exe"-name "% (filename)"-no-compress "% (FullPath)"-O. \generatedfiles\qrc_% (filename). cpp
Description: rcc%27ing% (Identity) ...
Output:. \generatedfiles\qrc_% (Filename). cpp
Additional dependencies: You can fill in the path of the associated picture resource and the QRC file path itself, as well as the Rcc.exe path itself. Similarly, UIC, as well as the command line generated by the MOC tool.
Links to QRC files for QT programming