Symbian S3 problem with capabilities
I have wrote a program that should enter in C:\private.
I have inserted the capabilities "WriteDeviceData" and "ReadDeviceData" doing so:
I have inserted this line in the ".pro" file
symbian:TARGET.CAPABILITY += ReadDeviceData
symbian:TARGET.CAPABILITY += WriteDeviceData
I should sign this program before run but I can't make the ".sis" file because I can't run the program on device (I get an error).
How can I do?
What error did you get?
the error is this:
"Automatic patching failed at C:\QtSDK\Symbian\SDKs\Symbian3Qt473\bin\createpackage.pl line 357."
I doubt that ReadDeviceData and WriteDeviceData is enough to access C:\private in symbian. Better ask at developer.nokia.com though, they have all the symbian experts there:-)
Ok but the community is offline now
This error is not related to the capabilities.
see that all your files that will be packaged in the sis file are existed in there places.
if the capabilities have errors it will produce the sis file but it will not work on the device.
This has nothing to do with capabilities. Capability issue comes up when sis is being installed on the device, that is where the verification happens. For this problem, better delete all generated files in your project folder and repeat build process.
I've solve with the cert that I ha downloaded from symbian signed
I have the same problem using ReadDeviceData.
could you explain more?
dridk: Rereading the whole thread I think the issue is that you need a certificate to enable those capabilities. The default mode used by creator (self-sign) seams to not suffice here: You need to get an developer certificate and register that with Qt Creator for the packaging to work.
That is what I understood... I am no Symbian expert though.
[quote author="Tobias Hunger" date="1318687139"]dridk: Rereading the whole thread I think the issue is that you need a certificate to enable those capabilities. The default mode used by creator (self-sign) seams to not suffice here: You need to get an developer certificate and register that with Qt Creator for the packaging to work.
That is what I understood... I am no Symbian expert though.[/quote]
You are absolutely right. "ReadDeviceData":http://developer.qt.nokia.com/wiki/Symbian_Capabilities is part of the extended capabilites so self-signed certificate is not enough for it.
dridk if you use ReadDeviceData obtain developer certificate. Please check this link http://www.developer.nokia.com/Community/Wiki/Developer_Certificate_(Symbian_Signed) for details.
Btw similar topic about createpackage.pl has been also discussed at "developer nokia forum":http://www.developer.nokia.com/Community/Discussion/showthread.php?220971-Problems-with-Qt-SDK-1.1-Beta
These capabilities require Symbian Signed certificate or OVI publish certificate.
Using self sign certificate you can not generate sis file.