Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to generate a single SIS that contanes a GUI App and a console App ?
Forum Updated to NodeBB v4.3 + New Features

How to generate a single SIS that contanes a GUI App and a console App ?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.9k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    GeekProgramer
    wrote on last edited by
    #1

    Hi every one,
    i have two application one that is a console application that runs in background, and the other one with a GUI basically from where the user can set some settings and those setting are sent to the console app,
    the two Apps are communicating via QLocalSocket,
    tell now they are two separate Apps communicating together, but what i need is one .SIS file containing both Apps,
    how i can do that?!
    Note that my console app is starting up on boot "independently from GUI".
    so Is that possible to do,,any suggestions or hints Please??!!

    1 Reply Last reply
    0
    • F Offline
      F Offline
      favoritas37
      wrote on last edited by
      #2

      Yes it is possible.

      You will create a separate .SIS file for the console application and you will embed it in the .SIS file of the GUI application. Thus when installing the GUI application, the console application will also be installed. It will work separately so you will have no problem.

      How to do it:
      First as said you generate the .SIS file of the console application. Then in the .pro file of the GUI application you add the following:

      @
      symbian{
      customrules.pkg_prerules =
      ";ConsoleApplication"
      "@"$$(EPOCROOT)Epoc32/InstallToDevice/ConsoleApplication.sis",(0xA0000000)"
      " "

      DEPLOYMENT += customrules
      }
      @

      What the above lines mean: With the .SIS file that will be created for the applicaiton that belongs the .pro file, the .SIS file specified will also be included and installed at the same time. At the line where the "Epoc32/InstallToDevice..." is you define the folder where the .SIS file of the console application is. Next to the path you set the UID of the .SIS file. You can find the UID from the .pro file of the console application. Copy, paste and build your final application. Now you should be ready.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GeekProgramer
        wrote on last edited by
        #3

        thanks for the reply,, i haven't tested it yet, still having some issues in generating .SIS for my console app..though i'll provide a feed back when i try.

        umm i was wondering if it works with MeeGo and Debian packages,, what to do in this case?!

        1 Reply Last reply
        0
        • F Offline
          F Offline
          favoritas37
          wrote on last edited by
          #4

          Unfortunately i have no idea how to do it for MeeGo, sorry.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved