From 5462e65c44e94489ddfc1ffab82ab3f5ee6d7ea7 Mon Sep 17 00:00:00 2001 From: Alexis Jeandet Date: Thu, 23 Nov 2017 21:20:45 +0100 Subject: [Qt module] Updated Dokerfile, added since 0.44 mention in doc Signed-off-by: Alexis Jeandet --- ciimage/Dockerfile | 1 + docs/markdown/Qt5-module.md | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ciimage/Dockerfile b/ciimage/Dockerfile index a2e3433..05e679e 100644 --- a/ciimage/Dockerfile +++ b/ciimage/Dockerfile @@ -12,4 +12,5 @@ RUN apt-get -y update && apt-get -y upgrade \ && apt-get -y install fpga-icestorm arachne-pnr yosys \ && apt-get -y install gtk-sharp2 gtk-sharp2-gapi libglib2.0-cil-dev \ && apt-get -y install libwmf-dev \ +&& apt-get -y install qt4-linguist-tools qttools5-dev-tools \ && python3 -m pip install hotdoc codecov diff --git a/docs/markdown/Qt5-module.md b/docs/markdown/Qt5-module.md index c7a2578..b5393a8 100644 --- a/docs/markdown/Qt5-module.md +++ b/docs/markdown/Qt5-module.md @@ -12,13 +12,13 @@ This method takes the following keyword arguments: It returns an opaque object that should be passed to a main build target. -## compile_translations +## compile_translations (since v0.44.0) This method generates the necessary targets to build translation files with lrelease, it takes the following keyword arguments: - `ts_files`, the list of input translation files produced by Qt's lupdate tool. - - `install` when true, this target is installed during the install step. - - `install_dir` directory to install to - - `build_by_default` when set to true, to have this target be built by default, that is, when invoking plain ninja; the default value is false. + - `install` when true, this target is installed during the install step (optional). + - `install_dir` directory to install to (optional). + - `build_by_default` when set to true, to have this target be built by default, that is, when invoking plain ninja; the default value is false (optional). A simple example would look like this: -- cgit v1.1