×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Unhappy How to sign with publish ID in Qt Creator

    hi!

    I wanna on device debug of a camera preview application.
    So I apply a Publisher ID and get a .cer(public key) and .key(private) from the .pfx file.
    Via DevCertRequest tool, I got a .csr file which should be a developer certificate.

    After that, I am not sure what I should do in Qt Creator next...

    I went to Qt Creator, Open my camera project.
    went to Porjects -> run setting.
    there are self-signed certificate and custom certificate options.
    I selected 'custom certificate' and try to speficy .csr and private key file.

    But it still fail to install the sisx when debugging.
    It got the error as the following.
    -----------------------------
    Installing application...
    Could not install from package C:\Data\qcamera_gcce_urel.sisx on device: General OS-related error
    Launching debugger...
    Debugging finished.
    -------------------------

    Would someone give some advice?
    Thanks a lot!
    I've struggled on this issue more than one weeks...

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Re: How to sign with publish ID in Qt Creator

    Nokia Developer Wiki Moderation team

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How to sign with publish ID in Qt Creator

    Dear Kiran:

    Thanks for your information. It's good to check it out.
    However, the article doesn't mention detail of run setting.
    I think it use 'self signed certificate'.
    But the camera application can't sign by self signed certificate since it need the capability 'ReadDeviceData'.

    This camera application is an example of ForumNokia.
    http://www.forum.nokia.com/info/sw.n..._0_en.zip.html

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to sign with publish ID in Qt Creator

    In my version of Qt Creator (from Nokia Qt SDK) the signing section have been moved to the build section bu t you should have similar access, wherever the thing is located. See the picture below.



    Note that you can also add a custom build step, calling make.exe with the "sis" command and additional parameters for specifying the certificate to use.

    Speaking of certificates: if I understand correctly what you want to use for signing is a DevCert and not the Publisher ID.
    Attached Images Attached Images
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How to sign with publish ID in Qt Creator

    Thanks a lot, Itomuta.
    I specify .csr on custom certificate and my private key file .
    It works now.
    (I tried this before but don't know it didn't work at that time)

    Thanks!
    Now I can trigger my application on device!

    However, the debugger doesn't stop on the breaking points.
    I'll issue another post since this is not related.

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to sign with publish ID in Qt Creator

    First, so that it is clear and confusions are avoiden, you use the *.cer file returned from Symbian Signed (where you submit the *.csr) for signing the app.

    There is a known issue about the debugger. What I have noticed to be working is that the breakpoints work if set after the debug session started. That is of course a problem if you are supposed to set one early in the application loading stage ...
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Registered User
    Join Date
    Mar 2010
    Posts
    46

    Re: How to sign with publish ID in Qt Creator

    thanks, Itomuta.
    And sorry for later reply.
    Yes. I use .cer file for symbian sign.


    I tried to set breakpoints after debugger started.
    However, it still doesn't stop at breakpoints.
    So it may have another issue...
    Thanks for your experence sharing. It helps,too.

  8. #8
    Registered User
    Join Date
    Nov 2009
    Posts
    15

    Re: How to sign with publish ID in Qt Creator

    Hi,
    I want to sign a qt application. I registered an I've got:
    - Developer Certificate Key Pair
    - Developer Certificate Installer
    - 5 Nokia assigned UIDs

    In the zip provided there isn't a crs file. This is the content:
    XXXXXXXXX_OviPublishCert_July13.sis
    OVI_06-28-2010.crt
    OVI_06-28-2010.key

    How should I use this files?

  9. #9
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to sign with publish ID in Qt Creator

    You have a developer certificate (devcert) provided by Ovi, you can use that for signing your application during the R&D and testing stage. Once ready for release, submit the application to Ovi Store unsigned (or signed with that devcert, they will accept it as well). Ovi Store will then apply their Publisher ID to the package and send it to Symbian Signed for certification, as per normal signing process.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  10. #10
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to sign with publish ID in Qt Creator

    signsis. If the sis is self-signed, unsign first with "signsis -u".

  11. #11
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to sign with publish ID in Qt Creator

    Use Carbide:
    http://tamss60.tamoggemon.com/2010/0...ficial-how-to/

    Import the .pro, build the SIS and enjoy.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  12. #12
    Registered User
    Join Date
    Nov 2009
    Posts
    15

    Re: How to sign with publish ID in Qt Creator

    I've solved using OVI_06-28-2010.crt as Custom Certificate and OVI_06-28-2010.key as key file and changing the date on my phone because my certificate is expired after only 3 months.
    As a general advise: If QtCreator give you "General OS error..." while deploying, try to install manually your sis. This will give you much more info.

    PS: How can I get a new certification?

  13. #13
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: How to sign with publish ID in Qt Creator

    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. Publish to OVI using stripped down Qt static bin, Smart Installer release date?
    By marksmithdev in forum [Closed] Publishing to Nokia Store
    Replies: 2
    Last Post: 2010-05-18, 11:21
  3. automatic rotate screen on meamo
    By fily_love in forum Nokia N9
    Replies: 27
    Last Post: 2010-04-06, 08:37
  4. gsreamer-0.10-plugins-good+Phonon
    By niqt in forum Nokia N9
    Replies: 10
    Last Post: 2010-03-05, 09:56
  5. How to use Qt Creator for creating maemo applications
    By marcelobarrosalmeida in forum Nokia N9
    Replies: 9
    Last Post: 2010-01-20, 01:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×