aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-06-15 17:25:07 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-25 23:46:45 +0300
commit1de1cc22e2fcc56860ee8174e375070c062f5b30 (patch)
tree24d9408fdfad46f14beca4f09da7e3c5d0b196e6 /mesonbuild/environment.py
parentfc13c90de343f22f494cc1868bd76ac372236ee1 (diff)
downloadmeson-1de1cc22e2fcc56860ee8174e375070c062f5b30.zip
meson-1de1cc22e2fcc56860ee8174e375070c062f5b30.tar.gz
meson-1de1cc22e2fcc56860ee8174e375070c062f5b30.tar.bz2
qt module: add qresource support to compile_translations
A common pattern in Qt5 applications is to embed translations in the executable using the qresource system. In this case, the list of translation files is already available in the .qrc file and there's no good reason to duplicate this info in meson.build. Let compile_translations optionally take a qrc input, in which case it will go straight to generating the relevant translations and rcc-generated .cpp, and directly return the thing users actually care about -- the .cpp for linking.
Diffstat (limited to 'mesonbuild/environment.py')
0 files changed, 0 insertions, 0 deletions