[Qt-interest] webkit simulating webserver php

Sylvain Pointeau sylvain.pointeau at gmail.com
Fri Jul 31 10:20:50 CEST 2009


Hi,
I tried to simulate a webserver with the webkit module.
I sub-classed the QNetworkAccessManager then the function
create(op,req,buff)
then I called the php-cli with a QProcess to have the generated page

for now, I generate a temp file and I modify the request to return a reply
to this new created file.
it works well but I would like to avoid this temporary file...

I would like a have a dedicated QNetworkReply to handle my content in a
QByteArray...
but seems I have to subclass it ... but I have no idea how to do that ...
(it inherits QIODevice)

do you have an idea?

many thanks in advance

Cheers,
Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090731/db1a49d7/attachment.html 


More information about the Qt-interest-old mailing list