Class GenerateAttribute
- Namespace
- Qt
- Assembly
- Qt.Bridge.CSharp.Api.dll
Supplies assembly-level generation metadata consumed by Qt Bridge templates.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class GenerateAttribute : Attribute
- Inheritance
-
GenerateAttribute
- Inherited Members
Remarks
The values of this attribute are exposed to the generator as placeholders and are intended for advanced generation customization.
Properties
Libraries
Gets or sets additional native libraries required by the generated output.
public string Libraries { get; set; }
Property Value
MainBeforeAppExec
Gets or sets text inserted before the application event loop is entered.
public string MainBeforeAppExec { get; set; }
Property Value
MainIncludes
Gets or sets text inserted into the main translation unit include section.
public string MainIncludes { get; set; }
Property Value
MainStartingUp
Text inserted at the start of main(), before the QApplication object is created.
public string MainStartingUp { get; set; }
Property Value
Packages
Gets or sets additional package identifiers required by the generated output.
public string Packages { get; set; }