On Tue, 2011-09-06 at 11:09 +0200, ext [email protected] wrote: > For us in documentation moving the parser to QtCore would give significant > benefits. We are implementing a QML Documentation parser currently which > allows people to put qdoc comments inside qml files. > > This parser currently has an older copy of > qtdeclarative/src/declarative/qml/parser in > qtdoc/tools/qdoc3/declarativeparser since we do not really want to have > qdoc to depend on the whole qtdeclarative stack.
If you're just depending on the parser - that one is really lightweight and doesn't introduce much overhead. Another way to solve your dependency issue might be to split up qdoc in a C++ dependent- and QML-dependent part. But if putting QML/JS into QtCore really gives us significant performance improvements that are hardly possible another way (e.g. by minimizing the cost of QVariant/JS conversions) *and* we keep Qt working if a user opt-outs QML/JS *and* we get V8 running on platforms the Qt project is committed to [1], then personally I am okay with doing so. Though it is kind of contrary to what this whole modularization practice was all about... BR, Jörg [1] more than Ubuntu 1x.x _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
