[Qt module] Updated Dokerfile, added since 0.44 mention in doc

Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
pull/2676/head
Alexis Jeandet 7 years ago
parent 5c5eac3571
commit 5462e65c44
  1. 1
      ciimage/Dockerfile
  2. 8
      docs/markdown/Qt5-module.md

@ -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

@ -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:

Loading…
Cancel
Save