Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Reg: Automatic Patching Failed

    QML and Qt Quick
    3
    10
    3913
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Naufal last edited by

      Hi All,
      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!!!

      Regards,
      Naufal.A

      Regards,
      Naufal.A

      1 Reply Last reply Reply Quote 0
      • G
        GentooXativa last edited by

        Maybe you are using some restircted capabilities on the last SDK. Check that

        Jose Vicente Giner Sanchez - Senior Mobile Developer

        www.gigigo.com

        C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
        T: +34 917431436

        1 Reply Last reply Reply Quote 0
        • N
          Naufal last edited by

          Hi,
          These are the capabilities i used !

          symbian:TARGET.CAPABILITY += NetworkServices
          Location
          ReadUserData
          WriteUserData
          ReadDeviceData
          WriteDeviceData
          UserEnvironment
          SwEvent

          I have commented these two
          ( ReadDeviceData
          WriteDeviceData ) and tried,but it gives me the same error.

          What might be the problem??

          Thanks,
          Naufal.A

          Regards,
          Naufal.A

          1 Reply Last reply Reply Quote 0
          • G
            GentooXativa last edited by

            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

            Jose Vicente Giner Sanchez - Senior Mobile Developer

            www.gigigo.com

            C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
            T: +34 917431436

            1 Reply Last reply Reply Quote 0
            • K
              kahon last edited by

              Hi,
              I think if you do a perfect clean it is solved.

              Try next:
              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:
              C:\QtSDK\Symbian\SDKs\SymbianSR1Qt474\epoc32\data\z\private

              Now in QtCreator: Build->Clear All

              Best,
              Fernando.

              1 Reply Last reply Reply Quote 0
              • N
                Naufal last edited by

                Hi,
                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!

                Regards,
                Naufal.A

                1 Reply Last reply Reply Quote 0
                • G
                  GentooXativa last edited by

                  [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.

                  Jose Vicente Giner Sanchez - Senior Mobile Developer

                  www.gigigo.com

                  C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
                  T: +34 917431436

                  1 Reply Last reply Reply Quote 0
                  • N
                    Naufal last edited by

                    Hi,
                    [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!

                    Regards,
                    Naufal.A

                    1 Reply Last reply Reply Quote 0
                    • G
                      GentooXativa last edited by

                      Well, if you are using Symbian Anna the correct path for you is
                      @
                      C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\data\z\private
                      @

                      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.

                      Jose Vicente Giner Sanchez - Senior Mobile Developer

                      www.gigigo.com

                      C/ Dr. Zamenhof 36bis, 1ºA 28027 Madrid
                      T: +34 917431436

                      1 Reply Last reply Reply Quote 0
                      • N
                        Naufal last edited by

                        Hi,
                        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!

                        Regards,
                        Naufal.A

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post