Qt World Summit: Register Today!

Qt Quick Compiler and Resource Compiler

  • Hello, when I create a project in QML, I see that in the build directory a .cpp file is created, generated with rcc I guess. My .qrc however contains all the .qml files in my project. Does this mean that the rcc tool pre compiles my qml files? Isn't this the same as using the qt quick compiler (which is a paid option)?
    If not, what are the differences between the two tools?
    Thank you for you time

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Qt's resources system (through rcc) allows you to embed arbitrary files within your executable be it images, text or else.

    The Qt Quick Compiler's goal is to compile your QML stuff to its final form.

Log in to reply