Posts Tagged ‘Qt

Original file: C# to C++ / Qt T4 generator cc.Name == p.PropertyType.Name); if(contains) WriteLine(“#include “); } } private void GenerateFromEnum(Type t, string objectName, bool useQTTypes) { FieldInfo[] memberInfos = t.GetFields(BindingFlags.Public | BindingFlags.Static); WriteLine(“enum class ” + objectName + “”); WriteLine(“{“); for(int i = 0; i < memberInfos.Length; i++){ Write("\t" + memberInfos[i].Name + " = " […]

<?xmlversion=“1.0“encoding=“utf-8“ ?>   <CodeSnippetsxmlns=“http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet“>   <CodeSnippetFormat=“1.0.0“>     <Header>       <Title>Qt Property</Title>       <Shortcut>QtProp</Shortcut>       <Description>         Code snippet for an automatically implemented Qt property         Language Version: C++ Qt       </Description>       <Author>cihant</Author>       <SnippetTypes>         <SnippetType>Expansion</SnippetType>       </SnippetTypes>     </Header>     <Snippet>       <Declarations>         <Literal>           <ID>type</ID>           <ToolTip>Property type</ToolTip>           <Default>QString</Default>         </Literal>         <Literal>           <ID>propertyName</ID>           <ToolTip>Property name</ToolTip>           <Default>MyProperty</Default>         </Literal>       </Declarations>       <CodeLanguage=“csharp“>         <![CDATA[ public: /* $propertyName$ Property */                                                                              Q_PROPERTY($type$ $propertyName$ READ $propertyName$ WRITE set$propertyName$ […]

Evet arkadaslar, Qt for Android alpha duyuruldu. Bu, daha once Qt ile yazdiginiz uygulama var ise kolaylikla port edebileceksiniz demek. Qt’u seviyoruz 🙂


top