Hi alokitmmca,
the beauty of a discussion board such as this one is that answers can be posted right here, on the spot, and you don't have to make your email address public. You should also start a new thread for each new topic, your question has nothing to do with "2 exe in one QT package".
To embed a SIS file (A.sis) in another SIS (B.SIS) you will have to make sure that B.pkg contains the following line (somewhere at the end of the file for example).
Code:
@"A.sis", (0xE???????)
where 0xE??????? is the "package UID" value from A.pkg's header.
Now, how would a line of code like this end-up in B.pkg? There are two options:
- edit a copy of B.pkg so that you add this line of code and then generate the B.sis file manually, using this modified PKG script. You can learn about PKG file format from http://www.symlab.org/mirror/develop...E38CDEB69.html
- use Qt's qmake scripting (i.e. code in the *.pro file) so that when qmake is executed on your project it generates the B.pkg file with the line in it already.
The 2nd approach is recommended and can be easily done using pkg_postrules:
Code:
symbian {
...
embedded_sis_file.pkg_postrules = "@\"A.sis\",(0xE???????)"
DEPLOYMENT += embedded_sis_file
...
}