summaryrefslogtreecommitdiffstats
path: root/src/doc
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-02-19 15:14:51 +0200
committerSamuli Piippo <samuli.piippo@digia.com>2014-02-19 16:54:24 +0200
commitf6d8f83364c013da0dfeb7247a17271b56a69491 (patch)
tree29d9f96f1e06481f40821493643aa80d75f94ff6 /src/doc
parentf80e4d4811e4c4f38c65fa7bbc2ec6df9c0283c0 (diff)
doc: add quide how to use b2qt_build_scripts
Change-Id: I08cc79fe34cc45a96c3387370a78060541cd3d1d Reviewed-by: Andy Nichols <andy.nichols@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/src/b2qt.qdoc32
1 files changed, 29 insertions, 3 deletions
diff --git a/src/doc/src/b2qt.qdoc b/src/doc/src/b2qt.qdoc
index 0107d7e..9416260 100644
--- a/src/doc/src/b2qt.qdoc
+++ b/src/doc/src/b2qt.qdoc
@@ -915,9 +915,35 @@
\endcode
\note The generated target image does not yet include Qt libraries,
- you need to build Qt and add it into the image yourself. The
- file \c {embedded-linux/build_qt.sh} from the \e {Build scripts} source
- package can be used as reference on how to configure and build Qt.
+ you need to build Qt and add it into the image yourself.
+
+ \section2 Building Qt and addons
+
+ \e {Build scripts} source package contains scripts that can be used to
+ build Qt and all additional Qt addons that are part of \B2QL image.
+ To setup build environment for your target hardware, create new build
+ directory and run the initialization script. Using Raspberry Pi as
+ an example:
+
+ \code
+ cd <your/qt/build/directory>
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-common/init_build_env.sh \
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
+ \endcode
+
+ You can use following scripts to build different parts of the \B2Q stack.
+
+ \code
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/build_qt.sh \
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/build_extras.sh \
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/build_image.sh \
+ <INSTALL_DIR>/Boot2Qt-2.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
+ \endcode
+
+ After \e {embedded-linux/build_image.sh} has finished, you can flash the devices with
+ the updated image located in the build folder.
*/
/*!