Qt for Symbian Self FAQ 更新ing
原创
©著作权归作者所有:来自51CTO博客作者penguinQ的原创作品,请联系作者获取转载授权,否则将追究法律责任
第一次吃螃蟹总有问题,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
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Qt入门之概述
Qt6介绍、环境搭建、应用示例
Qt6 QtCreator C++ -
shell实例--更新ing
shell实例收集
实例 职场 shell 休闲 -
【论文代码】GraphSAGE(更新ing)
文章目录一、官方代码1.1 加载数据1.2 Unsupervised Loss1.3 Models1.4 评估与模型使用1.5 Main二、
pytorch GraphSAGE 神经网络 sed 数据集 -
题解_notion(持续更新ing)
题解coding
java 开发语言 算法 notion -
不错的matlab网站(更新ing)
om.cn/s/blog_618af1950100kdi2.ht
MATLAB html 3c 图像处理 -
Symbian手记【二】 —— Symbian对象构造移动开发 Symbian 内存管理 异常处理 对象构造