<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br><span class="tab">    That's right, there was a user by the name of Arkadiusz Hnat who had the same error on Linux. After getting smokegen and smokeqt from source and compiling, he no longer had this problem. On Windows, I'd guess that you have some older smokeqt somewhere and it is this smokeqt that assemblygen uses. Otherwise I could recommend you to download <a href="http://download.kde.org/stable/csharp-qt/4.0.6/win32/CSharpQt-Windows-4.0.6.7z">the ready Windows binaries</a>.</span></div><div><br><span class="tab"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Regards,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times
 new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab">    Dimitar</span><span class="tab"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab"><br></span></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Carlos Machado <metator.pt@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Dimitar Dobrev <dpldobrev@yahoo.com> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, January 12, 2013 9:55 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Kde-bindings] [KDE-Bindings]
 Qyoto compile error<br> </font> </div> <br>
<div id="yiv2105640929">I tried to compile assemblygen on a Windows machine (Vista Home Premium SP2 32 bits) and i get yet another compile error:<br><br><a target="_blank" href="http://qyoto-qtcore.cs/">qyoto-qtcore.cs</a>(21273,20) : error CS0118: `QtCore.QLibrary.LoadHints' is a `property' but a `type' was expected<br>
qyoto-qtcore.cs(30452,29) : error CS0426: The nested type `LoadHints' does not exist in the type `QtCore.QLibrary'<br><br> I previously pulled and compiled the most recent version of smokegen and smokeqt. The reason for this error is that class QLibrary has an inner enum named LoadHint, but it's being used throughout the code as LoadHints. I checked previous versions of Qyoto and it's always named LoadHint.<br>
<br>I've read something a few days ago on the mailing list that it happened to some other user too...<br><br>Thanks.<br><br>Regards,<br><br>Mach<br><br><br><div class="yiv2105640929gmail_quote">2013/1/12 Dimitar Dobrev <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>></span><br>
<blockquote class="yiv2105640929gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><br><span>    Another user complained about this a few days ago but I cannot reproduce it. I don't even have an idea how it happens because these two classes are blacklisted in assemblygen. The only thing I can advise is to rebuild smokegen, smokeqt (both from source, not from the package manager) and assemblygen.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<span>    Regards,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><span>    Dimitar</span><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">
<span></span><span></span><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"><div class="yiv2105640929im">
 <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Carlos Machado <<a rel="nofollow" ymailto="mailto:metator.pt@gmail.com" target="_blank" href="mailto:metator.pt@gmail.com">metator.pt@gmail.com</a>><br> </div><b><span style="font-weight:bold;">To:</span></b> Dimitar Dobrev <<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>>; KDE bindings for other programming languages <<a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a>> <br>
 <b><span style="font-weight:bold;">Sent:</span></b> Saturday, January 12, 2013 7:30 PM<br>
 <b><span style="font-weight:bold;">Subject:</span></b> Re: [Kde-bindings] [KDE-Bindings] Qyoto compile error<br> </font> </div><div><div class="yiv2105640929h5"> <br>
<div>Thanks for your quick reply, Dimitar. <br><br>I've pulled the changes and i'm still not able to recompile. I'm getting another unrelated error:<br><br><a rel="nofollow" target="_blank" href="http://qyoto-qtgui.cs/">qyoto-qtgui.cs</a>(179642,21) : error CS0102: The type `QtGui.QX11EmbedContainer' already contains a definition for `Error'<br>

qyoto-qtgui.cs(179898,21) : error CS0102: The type `QtGui.QX11EmbedWidget' already contains a definition for `Error'<br><br>Regards,<br><br>Mach<br><br><div>2013/1/12 Dimitar Dobrev <span dir="ltr"><<a rel="nofollow" ymailto="mailto:dpldobrev@yahoo.com" target="_blank" href="mailto:dpldobrev@yahoo.com">dpldobrev@yahoo.com</a>></span><br>

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><span>    <br></span><div><span>    Hi, I fixed this last night but forgot to push. I've just pushed it. Sorry for the trouble.</span><span></span></div>

<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><br><span></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;">

<span>    Regards,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:times new roman, new york, times, serif;"><span>    Dimitar</span><span><br></span></div><div><br></div>  <div style="font-family:times new roman, new york, times, serif;font-size:12pt;">

 <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Carlos Machado <<a rel="nofollow" ymailto="mailto:metator.pt@gmail.com" target="_blank" href="mailto:metator.pt@gmail.com">metator.pt@gmail.com</a>><br>

 <b><span style="font-weight:bold;">To:</span></b> <a rel="nofollow" ymailto="mailto:kde-bindings@kde.org" target="_blank" href="mailto:kde-bindings@kde.org">kde-bindings@kde.org</a> <br> <b><span style="font-weight:bold;">Sent:</span></b> Saturday, January 12, 2013 6:46 PM<br>

 <b><span style="font-weight:bold;">Subject:</span></b> [Kde-bindings] [KDE-Bindings] Qyoto compile error<br> </font> </div><div><div> <br>
<div>Hi,<br><br>I'm trying to compile Qyoto on Ubuntu 12.10 (32 bits) with mono 2.10.8.1 and i'm getting an error when compiling qyoto-qtgui assembly (for the record, qyoto-qtcore compiles successfully). I pasted the complete error message below. I think this has something to do with the documentation generation.<br>


<br>Thanks,<br><br>Mach<br><br>Unhandled Exception: System.ArgumentException: parsing "(^|( --)|\n)\n([\w :*&<>,]+)?((QAccessible(\s*&)?::)| )installUpdateHandler\s*\(\s*(?<args>(const +)?(((\w+::)?Event))|((\w+::)?UpdateHandler))(\s+\w+(\s*=\s*[^,\r\n]+(\(\s*\))?)?)?(,\s*[\w :*&<>]+\s*=\s*[^,\r\n]+(\(\s*\))?(,\s*)?)*)\s*\)\s*(const)?( \[(\w+\s*)+\])?\n\W*(?<docs>.*?)(\n\s*){1,2}((&?\S* --)|((\n\s*){2}))" - Too many )'s.<br>


Parameter name: (^|( --)|\n)\n([\w :*&<>,]+)?((QAccessible(\s*&)?::)| )installUpdateHandler\s*\(\s*(?<args>(const +)?(((\w+::)?Event))|((\w+::)?UpdateHandler))(\s+\w+(\s*=\s*[^,\r\n]+(\(\s*\))?)?)?(,\s*[\w :*&<>]+\s*=\s*[^,\r\n]+(\(\s*\))?(,\s*)?)*)\s*\)\s*(const)?( \[(\w+\s*)+\])?\n\W*(?<docs>.*?)(\n\s*){1,2}((&?\S* --)|((\n\s*){2}))<br>


  at System.Text.RegularExpressions.Syntax.Parser.ParseGroup (System.Text.RegularExpressions.Syntax.Group group, RegexOptions options, System.Text.RegularExpressions.Syntax.Assertion assertion) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Syntax.Parser.ParseRegularExpression (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex.CreateMachineFactory (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Regex.InitNewRegex () [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex.Init () [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex..ctor (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>  at Documentation.TryMatch (System.String type, System.String methodName, System.CodeDom.CodeTypeMember cmm, System.String docs, Boolean markObsolete, IEnumerable`1 argTypes, Boolean completeSignature) [0x00000] in <filename unknown>:0 <br>


  at Documentation+<DocumentMember>c__AnonStorey3.<>m__2 (System.String t, Int32 i) [0x00000] in <filename unknown>:0 <br>  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator36`1[System.String].MoveNext () [0x00000] in <filename unknown>:0 <br>


  at System.Linq.Enumerable.Any[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 <br>  at Documentation.DocumentMember (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeTypeMember cmm, System.String type, IEnumerable`1 docs, Boolean markObsolete) [0x00000] in <filename unknown>:0 <br>


  at Documentation.DocumentMember (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeTypeMember cmm, System.CodeDom.CodeTypeDeclaration type) [0x00000] in <filename unknown>:0 <br>  at QyotoHooks.PostMethodDefinitionHooks (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeMemberMethod cmm, System.CodeDom.CodeTypeDeclaration type) [0x00000] in <filename unknown>:0 <br>


  at MethodsGenerator.GenerateBasicMethodDefinition (.Smoke* smoke, .Method* method, System.String cppSignature, System.CodeDom.CodeTypeReference iface) [0x00000] in <filename unknown>:0 <br>  at MethodsGenerator.GenerateMethod (.Smoke* smoke, .Method* method, System.String mungedName, System.CodeDom.CodeTypeReference iface) [0x00000] in <filename unknown>:0 <br>


  at MethodsGenerator.GenerateMethod (.Smoke* smoke, Int16 idx, System.String mungedName) [0x00000] in <filename unknown>:0 <br>  at MethodsGenerator.GenerateMethod (Int16 idx, System.String mungedName) [0x00000] in <filename unknown>:0 <br>


  at ClassesGenerator.GenerateMethods (IList`1 excludedMethods) [0x00000] in <filename unknown>:0 <br>  at ClassesGenerator.Run () [0x00000] in <filename unknown>:0 <br>  at MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 <br>


[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: parsing "(^|( --)|\n)\n([\w :*&<>,]+)?((QAccessible(\s*&)?::)| )installUpdateHandler\s*\(\s*(?<args>(const +)?(((\w+::)?Event))|((\w+::)?UpdateHandler))(\s+\w+(\s*=\s*[^,\r\n]+(\(\s*\))?)?)?(,\s*[\w :*&<>]+\s*=\s*[^,\r\n]+(\(\s*\))?(,\s*)?)*)\s*\)\s*(const)?( \[(\w+\s*)+\])?\n\W*(?<docs>.*?)(\n\s*){1,2}((&?\S* --)|((\n\s*){2}))" - Too many )'s.<br>


Parameter name: (^|( --)|\n)\n([\w :*&<>,]+)?((QAccessible(\s*&)?::)| )installUpdateHandler\s*\(\s*(?<args>(const +)?(((\w+::)?Event))|((\w+::)?UpdateHandler))(\s+\w+(\s*=\s*[^,\r\n]+(\(\s*\))?)?)?(,\s*[\w :*&<>]+\s*=\s*[^,\r\n]+(\(\s*\))?(,\s*)?)*)\s*\)\s*(const)?( \[(\w+\s*)+\])?\n\W*(?<docs>.*?)(\n\s*){1,2}((&?\S* --)|((\n\s*){2}))<br>


  at System.Text.RegularExpressions.Syntax.Parser.ParseGroup (System.Text.RegularExpressions.Syntax.Group group, RegexOptions options, System.Text.RegularExpressions.Syntax.Assertion assertion) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Syntax.Parser.ParseRegularExpression (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex.CreateMachineFactory (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Regex.InitNewRegex () [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex.Init () [0x00000] in <filename unknown>:0 <br>  at System.Text.RegularExpressions.Regex..ctor (System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>


  at System.Text.RegularExpressions.Regex.Match (System.String input, System.String pattern, RegexOptions options) [0x00000] in <filename unknown>:0 <br>  at Documentation.TryMatch (System.String type, System.String methodName, System.CodeDom.CodeTypeMember cmm, System.String docs, Boolean markObsolete, IEnumerable`1 argTypes, Boolean completeSignature) [0x00000] in <filename unknown>:0 <br>


  at Documentation+<DocumentMember>c__AnonStorey3.<>m__2 (System.String t, Int32 i) [0x00000] in <filename unknown>:0 <br>  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator36`1[System.String].MoveNext () [0x00000] in <filename unknown>:0 <br>


  at System.Linq.Enumerable.Any[String] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 <br>  at Documentation.DocumentMember (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeTypeMember cmm, System.String type, IEnumerable`1 docs, Boolean markObsolete) [0x00000] in <filename unknown>:0 <br>


  at Documentation.DocumentMember (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeTypeMember cmm, System.CodeDom.CodeTypeDeclaration type) [0x00000] in <filename unknown>:0 <br>  at QyotoHooks.PostMethodDefinitionHooks (.Smoke* smoke, .Method* smokeMethod, System.CodeDom.CodeMemberMethod cmm, System.CodeDom.CodeTypeDeclaration type) [0x00000] in <filename unknown>:0 <br>


  at MethodsGenerator.GenerateBasicMethodDefinition (.Smoke* smoke, .Method* method, System.String cppSignature, System.CodeDom.CodeTypeReference iface) [0x00000] in <filename unknown>:0 <br>  at MethodsGenerator.GenerateMethod (.Smoke* smoke, .Method* method, System.String mungedName, System.CodeDom.CodeTypeReference iface) [0x00000] in <filename unknown>:0 <br>


  at MethodsGenerator.GenerateMethod (.Smoke* smoke, Int16 idx, System.String mungedName) [0x00000] in <filename unknown>:0 <br>  at MethodsGenerator.GenerateMethod (Int16 idx, System.String mungedName) [0x00000] in <filename unknown>:0 <br>


  at ClassesGenerator.GenerateMethods (IList`1 excludedMethods) [0x00000] in <filename unknown>:0 <br>  at ClassesGenerator.Run () [0x00000] in <filename unknown>:0 <br>  at MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0<br>


</div><br></div></div>_______________________________________________<br>Kde-bindings mailing list<br><a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>

<br><br> </div> </div>  </div></div><br>_______________________________________________<br>
Kde-bindings mailing list<br>
<a rel="nofollow" ymailto="mailto:Kde-bindings@kde.org" target="_blank" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br>
<a rel="nofollow" target="_blank" href="https://mail.kde.org/mailman/listinfo/kde-bindings">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br>
<br></blockquote></div><br>
</div><br><br> </div></div></div> </div>  </div></div></blockquote></div><br>
</div><br><br> </div> </div>  </div></body></html>