Ok, let’s keep it as an add-on for now. I’m happy with that solution as well.
When it comes to the QML API, I do agree with Simon that having compatibility with the standard JS web sockets API is important so people can re-use code. But that doesn’t have to exclude a more declarative QML API. Cheers, Lars From: Kurt Pattyn <pattyn.k...@gmail.com<mailto:pattyn.k...@gmail.com>> Date: Monday 20 January 2014 13:15 To: "development@qt-project.org<mailto:development@qt-project.org>" <development@qt-project.org<mailto:development@qt-project.org>> Cc: Lars Knoll <lars.kn...@digia.com<mailto:lars.kn...@digia.com>>, Richard Moore <r...@kde.org<mailto:r...@kde.org>>, Peter Hartmann <phartm...@blackberry.com<mailto:phartm...@blackberry.com>>, Konstantin Ritt <ritt...@gmail.com<mailto:ritt...@gmail.com>>, Gladhorn Frederik <frederik.gladh...@digia.com<mailto:frederik.gladh...@digia.com>>, Simon Hausmann <simon.hausm...@digia.com<mailto:simon.hausm...@digia.com>>, "aalp...@blackberry.com<mailto:aalp...@blackberry.com>" <aalp...@blackberry.com<mailto:aalp...@blackberry.com>>, Kai Koehne <kai.koe...@digia.com<mailto:kai.koe...@digia.com>> Subject: QtWebSockets as add-on: current voting status Hi, The majority seems to agree that this should NOT go into the QtNetwork module, but should be an add-on. Votes so far: Peter Hartmann: +1 - add-on Richard Moore: +1 - add-on Konstantin Ritt: +1 - add-on Frederik Gladhorn: +1 - add-on Lars Knoll: +1 - QtNetwork Simon Hausmann has questions regarding the QML component: "Given that there exists a web idl for Web sockets, I suggest the qml api to consist of a QML element and a Javascript constructor. The prototype and the qml element should probably have the same api, the web Standard one. It is in our interest that third-part JS code out there using web sockets can be used seamlessly in qml.” Maybe it is interesting to know that the API of QML module evolved from ‘function-based’ to ‘declarative-based’ after discussion with Alan Alpert. To me, the module feels fine, but there is of course much to say about the standard Web Sockets API as described in http://www.w3.org/TR/websockets/. I really don’t have an opinion here. Of course, for a first version the QML module can be left out until the direction is clear on this. What are your thoughts? Cheers, Kurt
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development