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
_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to