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 https://wiki.qt.io/New_Features_in_Qt_5.9).


Log in to reply