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. Qt Symbian, embedding 2 exe in 1 sis.
Forum Updated to NodeBB v4.3 + New Features

Qt Symbian, embedding 2 exe in 1 sis.

Scheduled Pinned Locked Moved Mobile and Embedded
14 Posts 5 Posters 9.0k 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.
  • T Offline
    T Offline
    tony
    wrote on last edited by
    #4

    Why?

    From the point of view of "signing procedure", that's just raw data. I don't think that the signing process will check what raw data contains. Of course I cannot be sure of that, but ...

    T.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kkrzewniak
      wrote on last edited by
      #5

      Ok the trick using resources does not work (QProcess can't start the executable), I might be doing something wrong. So does anybody know of a way I could make 1 sis install 2 applications.

      Me, Grimlock, not "nice dino". ME BASH BRAINS!

      1 Reply Last reply
      0
      • A Offline
        A Offline
        anton_duca
        wrote on last edited by
        #6

        Have you found a solution for embedding the 2 exe files in 1 sis in QtCreator?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kkrzewniak
          wrote on last edited by
          #7

          Yes I ended up editing the *_template.pkg.
          @; Executable and default resource files
          "/NokiaQtSdk/Symbian/SDK/epoc32/release/$(PLATFORM)/$(TARGET)/first.exe" - "!:\sys\bin\firstr.exe"
          "/NokiaQtSdk/Symbian/SDK/epoc32/data/z/resource/apps/firstr.rsc" - "!:\resource\apps\first.rsc"
          "/NokiaQtSdk/Symbian/SDK/epoc32/data/z/private/10003a3f/import/apps/first_reg.rsc" - "!:\private\10003a3f\import\apps\firstr_reg.rsc"
          "/NokiaQtSdk/Symbian/SDK/epoc32/data/z/resource/apps/first.mif" - "!:\resource\apps\first.mif"
          ; Executable and default resource files for the 2 exe
          "/NokiaQtSdk/Symbian/SDK/epoc32/release/$(PLATFORM)/$(TARGET)/second.exe" - "!:\sys\bin\second.exe"
          "/NokiaQtSdk/Symbian/SDK/epoc32/data/z/resource/apps/second.rsc" - "!:\resource\apps\second.rsc"
          "/NokiaQtSdk/Symbian/SDK/epoc32/data/z/private/10003a3f/import/apps/second_reg.rsc" - "!:\private\10003a3f\import\apps\second_reg.rsc"@

          Me, Grimlock, not "nice dino". ME BASH BRAINS!

          1 Reply Last reply
          0
          • A Offline
            A Offline
            anton_duca
            wrote on last edited by
            #8

            Is there a way to specify this in the QTCreator .pro file?

            Since the _template.pkg is constantly rewritten at every build.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              renatomik
              wrote on last edited by
              #9

              I would also like to know, if there is a way to specify this in .pro file, if anyone figured it out

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qtrahul
                wrote on last edited by
                #10

                Software Installation Script(SIS) is the archive file for the Symbian OS for the installation purpose, It may contain .app file or .exe file.

                but 2 .exe in one .sis file is the different case.

                Since 2 months no update by "kkrzewniak":http://developer.qt.nokia.com/member/207

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kkrzewniak
                  wrote on last edited by
                  #11

                  AFAIK there is no way to do this form the .pro file. My method of editing the .pkg file by hand worked fine for me. And to have it not rewritten every build, well just make it readonly after You edit it.

                  Me, Grimlock, not "nice dino". ME BASH BRAINS!

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    renatomik
                    wrote on last edited by
                    #12

                    [quote author="kkrzewniak" date="1300716226"]And to have it not rewritten every build, well just make it readonly after You edit it.[/quote]

                    Will try that. Thank you both for fast reply

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      anton_duca
                      wrote on last edited by
                      #13

                      There is a way to make it in the .PRO file. U have to write some pkg_postrules. In my case GTMt.exe is the second exe to be added to the current project.

                      There is the section from the .PRO file of the current (main) project which adds the second exe:

                      @
                      GTMt1.pkg_postrules = ""$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/GTMt.exe" - "!:\sys\bin\GTMt.exe""
                      GTMt2.pkg_postrules = ""$${EPOCROOT}epoc32/data/z/resource/apps/GTMt.rsc" - "!:\resource\apps\GTMt.rsc""
                      GTMt3.pkg_postrules = ""$${EPOCROOT}epoc32/data/z/private/10003a3f/import/apps/GTMt_reg.rsc" - "!:\private\10003a3f\import\apps\GTMt_reg.rsc""
                      DEPLOYMENT += GTMt1
                      DEPLOYMENT += GTMt2
                      DEPLOYMENT += GTMt3
                      @

                      Good luck. Hope it helps. Works for me like a charm.

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        renatomik
                        wrote on last edited by
                        #14

                        thanks anton_duca, it works!

                        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