Charles Brunet
f4f50db441
qt: add preserve_paths keyword to functions
...
This allow to generate ui and moc under subdirectories,
as this is allowed with generic generators.
2024-02-12 15:49:55 -08:00
Chris Mayo
92bcf88f0c
docs: Fix since for compile_translations in _include_qt_base
2024-01-01 01:48:54 -05:00
Chris Mayo
dc3e027380
docs: Rename Qt4 & Qt5 in Dependencies to Qt
2024-01-01 01:48:54 -05:00
Chris Mayo
abeea41880
docs: Use Qt instead of qt
2024-01-01 01:48:54 -05:00
Josh Soref
cf9fd56bc9
fix various spelling issues
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-11 19:21:05 -04:00
groveer
c754f9076a
docs: Qt compile_moc() parameter error
...
"extra_arguments" should be "extra_args"
2023-01-20 00:27:20 -05:00
Elliott Sales de Andrade
8c5838bfea
Add missing since annotations in docs
...
This is based on searching for `@FeatureNew*` decorators.
There is also one correction to a version in a decorators;
`build_by_default` was added in #1303 , which is 0.38.0, not 0.40.0.
2022-10-24 21:47:46 -04:00
Elliott Sales de Andrade
fa2585d0b3
Fix typos in docs
2022-10-23 03:06:39 +03:00
Eli Schwartz
185c4e3c95
doc: fix missing kwarg in qt5 module
...
compile_moc accepts "dependencies" for the same reason preprocess does,
but the original documentation never copied this over from the
preprocess docs.
See: https://github.com/mesonbuild/meson/issues/9683#issuecomment-986825041
2021-12-06 09:46:55 -05:00
Christian Clauss
a5020857f3
Fix typos discovered by codespell
2021-10-10 16:12:25 -04:00
Dylan Baker
a7f3703440
modules/qt: Allow using generated sources for compile_translations ts_files
2021-08-18 19:47:07 -07:00
Dylan Baker
a16335a958
modules/qt: Allow Generated sources in compile_resources
2021-08-18 19:46:47 -07:00
Dylan Baker
ff573620b0
modules/qt: allow passing generated targets to compile_ui
2021-08-18 19:46:47 -07:00
Dylan Baker
965fcf2883
modules/qt: Allow generated sources for arguemnts to compile_moc
2021-08-18 19:46:47 -07:00
Dylan Baker
5583e44826
qt: Allow CustomTargets for qt.preprocess source arguments
...
This works for `moc_*` and `ui_files`, but it never could have worked
for `qresources` due to the implementation assuming a `str` or `File`.
To restore previous compatibility I've added `CustomTarget` where it
would have worked, but not where it would have failed, the former would
raised an exception along the lines anyway.
Fixes #9007
2021-07-23 00:46:22 +05:30
Dylan Baker
f7eda0e822
modules/qt: allow string values for include_directories
...
This should have been supported before, but wasn't.
2021-06-18 09:52:23 -07:00
Dylan Baker
7535736108
docs: Use an include for the qt modules
...
Insteadf of qt4 referencing the Qt5 page, include the same content in
both.
2021-06-15 14:15:13 -07:00