//! [0]
images/cut.png
//! [0]
//! [1]
images/cut.png
//! [1]
//! [2]
cut.jpg
cut_fr.jpg
//! [2]
//! [3]
rcc -binary myresource.qrc -o myresource.rcc
//! [3]
//! [4]
QResource::registerResource("/path/to/myresource.rcc");
//! [4]
//! [5]
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
Q_INIT_RESOURCE(graphlib);
...
return app.exec();
}
//! [5]