O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Qt Resource Collection

The next thing we will want to do in our gui sub-project is to create a Qt Resource Collection file (.qrc), an XML file that indexes a group of application resources and makes them accessible through the powerful Qt resource system.

The Qt resource system (http://doc.qt.io/qt-5.9/resources.htmlallows you to store resources in binary format, either within the main application executable or in separate files, and makes them accessible via a custom resource location scheme (:/ or qrc:/). Clear advantages of this approach are easier deployment, speed of access, and maximum portability (no need to deal with platform-specific filesystem differences to load resources!). Take a look at the preceding link to have ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required