您的位置:首页 > 其它

深度剖析WinPcap之(八)――打开与关闭适配器(12)

2010-09-05 21:07 399 查看
第一次吃螃蟹总有问题,Qt for Sybiam也是一个新的技术手段,总碰到些莫名的小问题,今天开始做个自问自答得FAQ,方便查找。
1. Q:程序有网络申请或是本地数据读写需求,程序桌面应用没有问题,下载到手机上没有生效?A:需要考虑在.pro文件加入TARGET.CAPABILITY属性信息 In Symbian OS you use capabilities to define your application's level of trust. The capabilities can be set in your project file with the TARGET.CAPABILITY variable. If this variable has no value, the default value None is used.
The following example shows the setting of a number of capabilities:TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
P.S. The QtNetwork module provides classes to make network programming easier and portable.To include the definitions of the module's classes, use the following directive: #include <QtNetwork>To link against the module, add this line to your qmake .pro file: QT += network本文出自 “PenguinQi” 博客,请务必保留此出处http://penguin7.blog.51cto.com/966026/290360
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: