Reg: Automatic Patching Failed
I am getting the following error,while running in symbian device (option)
error: Automatic patching failed at C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\bin\createpackage.pl line 357.
I was previously using the Qt 4.7.3 symbian anna version and now have updated the version to Qt 4.7.4 symbian belle and used the same project in this. I can able to run it in the simulator but, could not create the sis file for the mobile device.
I could not find any solution regarding this.So,anyone please help me out!!!
Maybe you are using some restircted capabilities on the last SDK. Check that
These are the capabilities i used !
symbian:TARGET.CAPABILITY += NetworkServices
I have commented these two
WriteDeviceData ) and tried,but it gives me the same error.
What might be the problem??
You need a developer certificate to sign your application or never go to be signed. swEvent, Location and DeviceData need to be signed with a certificate.
Check that page to know about it: "Symbian Capabilities":http://www.developer.nokia.com/Community/Wiki/Capabilities and you can get a Certificate at "SymbianSigned":https://www.symbiansigned.com/ but that certificate is tied to a IMEI phone
I think if you do a perfect clean it is solved.
go to QtSDK/Qt 4.7.4 for Symbian Anna Command Prompt
Once executed -> cd "directory where .pro is"
type -> "make distclean"
Now look into .pro and check UID used.
Then delete the directoy which one has UID inside:
Now in QtCreator: Build->Clear All
I dont find this path in my installed location.
(go to QtSDK/Qt 4.7.4 for Symbian Anna Command Prompt)
Can you make me little more clear with the following lines.
Once executed -> cd “directory where .pro is”
type -> “make distclean”
Because i ran the above command in my command prompt.But, it says
it cannot recognize the file make command...
Please can you be more clear with the command and path,you specified before.Because i dont find any path you mentioned in the installation area.
Thanks for the Replies!
[quote author="GentooXativa" date="1334668115"]swEvent, Location and DeviceData need to be signed with a certificate.[/quote]
As i said on my previous post, you never go to success on selfpatching if you are using restricted capabilities.
[quote author="GentooXativa" date="1334728102"][quote author="GentooXativa" date="1334668115"]swEvent, Location and DeviceData need to be signed with a certificate.[/quote]
As i said on my previous post, you never go to success on selfpatching if you are using restricted capabilities.[/quote]
As I commented those four capabilities and tried building the sis.but, i am getting the same error.Is there any other possibility
Thanks for the Replies!
Well, if you are using Symbian Anna the correct path for you is
To clean all the garbage, and you can find the Qt prompt into Start Menu in windows, try the solution proposed by kahon.
Another way to make a distclean is change the Clean build step, instead of clean argument use distclean, and remember to run qmake after it.
I have run the make distclean in the command prompt and also deleted the UID named folder in the private folder and rebuild the application but the error remains the same.
And also i have commented the capabilities ie.,Location,devicedata and swevent.
What is the other possibilities to solve this problem???
Thanks for any Replies!