diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-01-11 10:48:38 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2011-01-11 14:22:53 (GMT) |
commit | a601a45f7fbff6df2b39990d0e1dbd00542b9819 (patch) | |
tree | 4ccef6d0bc78b9ed03209f99e873e5ba37209351 /doc/src/snippets/scriptdebugger.cpp | |
parent | b58eb0419f9f724af5d9baf8bbce4e0f1e2f3f8b (diff) | |
download | Qt-a601a45f7fbff6df2b39990d0e1dbd00542b9819.zip Qt-a601a45f7fbff6df2b39990d0e1dbd00542b9819.tar.gz Qt-a601a45f7fbff6df2b39990d0e1dbd00542b9819.tar.bz2 |
Allow use of command line parameters with RApaLsSession::StartApp.
When a Symbian application is launched using RApaLsSession::StartApp,
command line parameters can be given with CApaCommandLine::SetTailEndL
and will now be correctly interpreted by Qt applications as command
line parameters.
There are a couple of limitations:
1) The parameters given with CApaCommandLine::SetTailEndL will not
be available in main method's argv array; they can be
accessed via QCoreApplication::arguments function.
2) CApaCommandLine::SetTailEndL does support any arbitrary binary data
as parameter, but only 8-bit string data gets parsed properly into
QCoreApplication::arguments. For other kind of tail data, you need
to subclass QS60MainAppUi and implement ProcessCommandParametersL
callback.
Task-number: QTBUG-15987
Reviewed-by: axis
Diffstat (limited to 'doc/src/snippets/scriptdebugger.cpp')
0 files changed, 0 insertions, 0 deletions