Please nominate your Qt Champions for 2021!

How can I compile QML codes with Qt 5.8 Community Edition?

  • Hi; I want to compile QML codes with Qt 5.8 Community Edition. So, I found Qt Quick Compiler. I know Qt Community license (LGPL). I want to learn how to compile QML files only. How can I compile QML files with Qt 5.8 C.E.? Should I use Qt Quick Compiler? Or is there another way for this job? Thanks.

  • As far as I know, QtQuick Compiler is only available in the commercial version. But the Qt team is actively working on making the functionality also available for non-commercial versions. Some parts of QtQuick Compiler's functionality will already be available in the upcoming Qt 5.9 ("Add support for ahead-of-time generation of QML type caches", see

Log in to reply