aboutsummaryrefslogtreecommitdiff
path: root/find-modules/Qt5Ruleset.py
AgeCommit message (Collapse)Author
2020-06-14extra-cmake-modules: Convert to SPDX license statementsAndreas Cord-Landwehr
2017-01-31Remove delimiters from licence headerStephen Kelly
2017-01-15Bindings: Fix handling of forward declarationsStephen Kelly
It is not appropriate to decorate each forward declaration with the SIP attribute /External/. That is only needed for forward declarations of types which are defined in a different module. Local forward declarations can be omitted from the sip code. In sip code, a forward declaration followed later by a full class definition is an error. Omit forward declarations unless they are decorated with the external attribute. Introduce a rules database for consumers to decorate them with the attribute as required.
2017-01-13Bindings: Add rules engine for typedefsStephen Kelly
Currently this is rather simple, allowing only matching typedefs by name. If we need more later, we can extend the interface. This will make it possible to add bindings for the K18n framework.
2017-01-13Bindings: Implement ModuleCode and MethodCode databasesStephen Kelly
2016-10-31Add Qt5 Ruleset.Stephen Kelly
The ruleset is used to transform or omit artifacts in C++ header files when determining the SIP content to generate. Some content common to all Qt-using libraries can be processed by using the rule set present here. For example, most Q_METATYPE internal declarations should be discarded.