Add bindings for QML#11
Conversation
Based on a patch by Sebastian Wallat: swallat@196bcf1
In addition to adding the necessary boilerplate, we also add a new version of QHttpServer::listen(), in which the address can be given as a string. This can be used from QML, which doesn't have any equivalent for QHostAddress.
|
This is great work! Would it be possible to split the qt5 changes into a separate branch? What I'd like to do is merge the Qt5 changes into a qt5 branch, so that master isn't changed while Qt5 is pretty new. As for the QML changes, is it possible to keep that separate from qhttpserver, that is, a separate project, which can be linked with qhttpserver at build time? |
|
On Fri, Aug 16, 2013 at 1:38 AM, Nikhil Marathe
|
These commits add support for using QHttpServer from QML, which is either awesome or insane. I'm undecided as to which, but if you think it's the former, here's a pull request.
The first two commits are necessary to get everything working with Qt5. If you'd prefer, I could split them out into a separate pull request.
There probably needs to be something done to get the QML bindings to install. I'm new to Qt, so I don't know what that is. Right now, it will run from the build directory just fine.