<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">The ArchLinux qyoto package maybe a version built from the obsolete Qyoto repo and assemblygen may have some flaw compared to it. It'd be best if you mailed your stack trace here.<br>I failed to take a look at your example because I'm working on a quite large Qyoto feature. I will check it tonight. <br><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" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Cvetoslav Ludmiloff <ludmiloff@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> kde-bindings@kde.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, February 1, 2012 12:13 PM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Qyoto - adding QTextEdit as centralWidget does not end app on closing main window<br> </font> </div> <br>
<div id="yiv1398442562">That's very odd.<div>I've installed qyoto package at home - ArchLinux (package is same as published here <a rel="nofollow" target="_blank" href="ftp://ftp.kde.org/pub/kde/stable/4.8.0/src/">ftp://ftp.kde.org/pub/kde/stable/4.8.0/src/</a>) and all works.</div>
<div>If assemblygen is used  then is even worse - I can not create instance of MainWindow, - segfault, later I can put traces here.</div><div>If assemblygen is used and code is simplified to the next statement everything is ok:</div>
<div><br></div><div>using System;</div><div>using Qyoto;</div><div>public class Test {</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">              </span>public static int Main(String[] args)</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">          </span>{</div>
<div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                        </span>new QApplication(args);</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                        </span>QMainWindow w = new QMainWindow();</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                     </span>w.SetCentralWidget(new QTextEdit());</div>
<div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                        </span>QApplication.Exec();</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                   </span>Console.WriteLine("exiting");</div><div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                        </span>return 0;</div>
<div><span class="yiv1398442562Apple-tab-span" style="white-space:pre;">                </span>}</div><div>}</div><div><br></div><div>btw, in Arch Linux I have Qt 4.8 installed</div><div>In ubuntu (Qt 4.7.2) there is no segfault and the situation is same as my previous message, regardless what sources I use for compiling smokegen, smokeqt and qyoto.</div>
<div>I  have not tested Ubuntu repos for the moment.</div><div><br></div><div>Cvetoslav Ludmiloff</div><div>http://archstable.blogspot.com/</div><div><br></div><div><br></div>
</div><br>_______________________________________________<br>Kde-bindings mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-bindings" target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br> </div> </div>  </div></body></html>