[QBS] Qt Quick Compiler with QBS
Joerg Bornemann
joerg.bornemann at theqtcompany.com
Thu Feb 19 12:52:14 CET 2015
On 13-Feb-15 15:01, olivier musse wrote:
> Thanks, it seems you know Qt Quick Compiler better than I ;o)
> So when do you think the magic part can be added to QBS ?
I've added an example to QBS-749 that demonstrates how to use the
qmlcompiler with qbs 1.3. The magic is done in CompiledQmlApp.qbs. The
actual app project looks like this
---snip---
import qbs
CompiledQmlApp {
name: "MyApp"
files: ["main.cpp"]
qmlResourceFiles: ["qml.qrc"]
}
---snap---
Build the project with qbs -f myapp.qbs and make sure that your Qt build
has the QML compiler installed.
BR,
Joerg
More information about the Qbs
mailing list