summaryrefslogtreecommitdiffstats
path: root/src/interfaceframework/doc/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Add deprecation handling to JinjaZoltan Gera7 days1-2/+0
| | | | | | | | | | | | | | | Two new global functions are added to Jinja which can deprecate both templates and filters alike. The deprecation logic is based on the newest macros in C++ which handle both deprecation version and the version for code removal. In case of removal, an error fails the build. CMake configuration variables are also introduced which can set warning and error version boundaries respectively. [ChangeLog][ifcodegen] Introduced deprecation primitives for templates. Pick-to: 6.11 Change-Id: I0c4e56f84f674a0e6d6bb90968687e31b6e250a2 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update license checkLucie Gérard2025-03-201-1/+1
| | | | | | | | | | | | | | | | The module is now: - checked against quip18 [1] rules (licenseRule.json) - reuse compliant (REUSE.toml) - ready for source SBOM check [1] https://contribute.qt-project.org/quips/18 [ChangeLog][Third-Party Code] Rename license file with LICENSE. prefix. This way the file is ignored by the reuse tool. Task-number: QTBUG-131434 Pick-to: 6.8 6.9 Change-Id: Iaa52f0125719f5172f2e7522df816fcd3ced4928 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* CMake: Add a new qt_ifcodegen_add_qml_module functionDominik Holland2024-05-291-0/+14
| | | | | | | | | | This makes it easier to generate qml modules as it will take the URI and VERSION from the ifcodegen template, but also allows to be passed to the function to overwrite the values. Fixes: QTBUG-118780 Change-Id: I15b2f06c6ac8373286d002dc64d8d34941df11df Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Add a new qt_ifcodegen_add_plugin functionDominik Holland2024-05-291-0/+13
| | | | | | | | | | This makes it easier to generate backend plugins while making sure those plugins are of the correct type and use the correct class name to support static linking. Fixes: QTBUG-123370 Change-Id: I4f32cce7df308bbe320a2063b5a9840de77a050f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* ifcodegen: Add support to load extra jinja filtersDominik Holland2022-10-181-0/+19
| | | | | | | | | | | | | | In addition to allow a filters.py which can be part of a custom template folder, there is now also a way to load filters from other locations. The extra_filters are configured in the generation yaml file and can load files from other templates or common folders within the template search path. Fixes: QTBUG-107005 Change-Id: I518ff96659a3792fbb2a1d64ffc1d5c40eb69767 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Add documentation for the ifcodegen cmake APIDominik Holland2021-09-151-0/+51
Pick-to: 6.2 Change-Id: Ib35aeb1d3ec85ed1694e598795cd5c28c8eb696c Reviewed-by: Robert Griebl <robert.griebl@qt.io>