Sunday, November 28, 2010

Signing Symbian/Qt Application in Linux

Signing Symbian/Qt Mobile Applications conventionally has to be done on Windows.
The good news is now it's possible to sign Symbian/Qt mobile applications in Linux-based operating systems such as Ubuntu, with the help of wine.

  1. First you need to get a Symbian certificate and key.
    You can get your applications Symbian signed for free and get developer certificates from Ovi Publish.

  2. Extract the signsis.exe file from this zip file.
    Source: FExplorer thread
    I recommend to make this file executable so you can run it directly with Wine and not having to prefix "wine" command for launching.
    Running this command on Terminal:
    chmod +x signsis.exe

  3. Install Wine.
    In Ubuntu, open Terminal and type:
    sudo apt-get install wine
Now you can sign your unsigned SIS application files.

Type this command in Terminal:

wine path/to/signsis.exe <application-file.sis> <certificate.crt> <certificate.key>

If you make signsis.exe executable you can simply type:

wine path/to/signsis.exe <application-file.sis> <certificate.crt> <certificate.key>

Now you can sign any SIS file at will. :-)

For example in my system this is how it looks:

$ /opt/signsis/signsis.exe -s -v messagemerge_qt-4_6_3_m1_0_2_s60_3_1.sis messagemerge_devsigned.sis OVI_10-29-2010.crt OVI_10-29-2010.key

SIGNSIS Version 4, 0, 0, 1
A utility for signing Software Installation (SIS) files.
Copyright (c) 2004 Symbian Software Ltd. All rights reserved.

Signing
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub

2 comments:

  1. Guys,
    The Mobile Hands-on Labs v1.4 (Online Tutorial) For developers to get started with creating working Qt, Web Runtime, and Java ME application.
    The modules explain the development environment set up and how to get started. Each module has step-by-step instructions on how to proceed and create a working application.
    Check out the link: http://bit.ly/hBovv0

    ReplyDelete
  2. Hey, Also Check Out The final version of Nokia Qt SDK is here........... Final versions of the SDK are available for computers running Microsoft Windows and Linux, while a beta version is available for Apple Mac computers.
    For details on all Qt Tools and Downloads check the link: http://www.forum.nokia.com/Develop/Qt/Tools/

    ReplyDelete

Be the first to comment!