[Kde-bindings] Qyoto - adding QTextEdit as centralWidget does not end app on closing main window

Cvetoslav Ludmiloff ludmiloff at gmail.com
Wed Feb 1 10:13:33 UTC 2012


That's very odd.
I've installed qyoto package at home - ArchLinux (package is same as
published here ftp://ftp.kde.org/pub/kde/stable/4.8.0/src/) and all works.
If assemblygen is used  then is even worse - I can not create instance of
MainWindow, - segfault, later I can put traces here.
If assemblygen is used and code is simplified to the next statement
everything is ok:

using System;
using Qyoto;
public class Test {
public static int Main(String[] args)
{
new QApplication(args);
QMainWindow w = new QMainWindow();
w.SetCentralWidget(new QTextEdit());
QApplication.Exec();
Console.WriteLine("exiting");
return 0;
}
}

btw, in Arch Linux I have Qt 4.8 installed
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.
I  have not tested Ubuntu repos for the moment.

Cvetoslav Ludmiloff
http://archstable.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20120201/6c6a3e6c/attachment.html>


More information about the Kde-bindings mailing list