需要在C ++中使用Qt 4.7创建http webserver [英] Need to create http webserver using Qt 4.7 in C++

查看:154
本文介绍了需要在C ++中使用Qt 4.7创建http webserver的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个HTTP服务器,它使用Qt 4.7响应http客户端。

我已经通过API,发现了很少的服务器,但是如何使用API​​创建http服务器

任何提示和指导这个请....我是全新的这

I need to create a http web server which responds to http clients using Qt 4.7
I have gone through the API and found few servers, but how to create a http server using the API
Any hints and guidance on this please....i am totally new to this

也是什么是.pro在Qt 4.7和它是相同的在Visual studio中执行

also what is .pro in Qt 4.7 and is it the same as doing in Visual studio

推荐答案

您应该使用 QTcpServer a href =http://doc.qt.nokia.com/solutions/4/qtservice/qtservice-example-server.html> 示例

You should use QTcpServer , check this example.

这篇关于需要在C ++中使用Qt 4.7创建http webserver的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆