diff options
author | Martin Smith <msmith@trolltech.com> | 2010-01-11 12:45:23 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-01-11 12:45:23 (GMT) |
commit | e1e67e84b223b36a01d767c163de730702057eb8 (patch) | |
tree | 984b4484c6995be30c1c48eb7a92278f247f067c /doc | |
parent | 8e2c575f6383a69e9c1d4f069e3c8e3b219197b5 (diff) | |
parent | 039387d498f4ca0125938c7c79c5aff29dab5361 (diff) | |
download | Qt-e1e67e84b223b36a01d767c163de730702057eb8.zip Qt-e1e67e84b223b36a01d767c163de730702057eb8.tar.gz Qt-e1e67e84b223b36a01d767c163de730702057eb8.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/platforms/symbian-introduction.qdoc | 28 | ||||
-rw-r--r-- | doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp | 1 |
2 files changed, 23 insertions, 6 deletions
diff --git a/doc/src/platforms/symbian-introduction.qdoc b/doc/src/platforms/symbian-introduction.qdoc index 116f8df..427f45a 100644 --- a/doc/src/platforms/symbian-introduction.qdoc +++ b/doc/src/platforms/symbian-introduction.qdoc @@ -124,12 +124,8 @@ \row \o \c release-gcce \o Build release binaries for hardware using GCCE. \row \o \c debug-armv5 \o Build debug binaries for hardware using RVCT. \row \o \c release-armv5 \o Build release binaries for hardware using RVCT. - \row \o \c run \o Run the application. Environment variable - \c QT_SIS_TARGET (see below) can be used to specify which - build target is run. By default it is the last build target. - Note that running the application on real device - using this command requires \c TRK application to be running - on the device. + \row \o \c run \o Run the application on the emulator. + \row \o \c runonphone \o Run the application on a device. \row \o \c sis \o Create signed \c .sis file for project. \endtable @@ -199,4 +195,24 @@ with the \c QT_SIS_OPTIONS=-i, like this: \snippet doc/src/snippets/code/doc_src_symbian-introduction.qdoc 5 + + \section1 Running applications from command line + + The application can be launched on the emulator using \c{make run} command. + + The application can be launched on a device using \c{make runonphone} command. + When this command is invoked, a \c .sis file is first created as if \c{make sis} + command was invoked (see above for details). + \bold{Note:} Running the application on a device using this command requires + \c TRK application to be running on the device. + + Additional environment variables that can be utilized with these commands are: + \table + \row \o \c QT_RUN_OPTIONS \o Any command line parameters you wish to pass + to your application. + \row \o \c QT_RUN_ON_PHONE_OPTIONS \o Options for runonphone application. + Execute \c runonphone from command line for + more information about available options. + \c{make runonphone} only. + \endtable */ diff --git a/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp b/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp index 99fd0cf..bcb61f7 100644 --- a/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp +++ b/doc/src/snippets/code/src_corelib_codecs_qtextcodec.cpp @@ -62,6 +62,7 @@ while (new_data_available()) { QByteArray chunk = get_new_data(); string += decoder->toUnicode(chunk); } +delete decoder; //! [2] |