qtdeploymentsymbians60

Deploying qt applications on symbian along with frameworks


I've developed an app from symbian. I need to create a sis symbian installer file along with qt framework in the same sis file. Right now i installed the framework separately which is like 12MB and the QTMobility which is around 2MB.

How to create a installer that has the required QT frameworks api and reduce the installer size. And the installer which can work offline.


Solution

  • I would try to embed the sis files of Qt and QtMobility in the sis file of the application.

    Study the relevant part of the documentation of the Software Installation Toolkit:

    Embedding SIS files within other SIS files:

    A SIS file may contain a number of embedded or nested SIS files. [...] Embedding SIS files might be useful for packaging multiple components into a single SIS file, but which can later be removed independently of each other. For example, if a SIS file needs to install an application and a library that is shared with other installed applications, the shared library could be installed as an embedded SIS file, so that when the application is uninstalled, the shared library will remain on the phone if still required by other applications.

    How to create an install file containing embedded install files:

    A SIS file can include other SIS files. To do this, in the PKG file, include the name and location of the embedded install file(s), and their package UID(s), prefixed with the @ symbol.

    IF NOT package(0x2001E61C)
    ; install Qt.sis only if not already installed
    @"Qt.sis", (0x2001E61C)
    endif
    
    IF NOT package(0x2002AC89)
    ; install QtMobility.sis only if not already installed
    @"QtMobility.sis", (0x2002AC89)
    endif