Mitu
Joined: 22 Sep 2009 Posts: 59 Location: Poland
|
Posted: Sat Apr 30, 2011 9:05 am Post subject: Broken after update to Kubuntu 11.04 |
|
|
Hello.
I have just performed an upgrade to the latest Kubuntu. Since that applications developed using QtD will not run - I get a segfault immediatelly. It seems like trying to show the window kills the program...
Strangely, when I put the "writeln" command directly above the "show()" command, program runs, but will terminate when I click the button...
I've just installed the latest DMD version (2.052), patched it, built and installed the latest QtD, but the error still occurs.
My Qt version is 4.7.2 (default in Kubuntu Natty).
Code of the HelloWorld generating the error:
Code: | module main;
import qt.gui.QApplication;
import qt.gui.QPushButton;
int main(string[] args)
{
QApplication app = new QApplication(args);
QPushButton hello = new QPushButton("Hello World!");
hello.show();
return app.exec();
} |
Compiled using:
Code: | dmd main.d -I/usr/local/include/d -L-L/usr/local/lib -L-lqtdgui -L-lqtdcore -L-lcpp_core -L-lcpp_gui -L-lQtGui -L-lQtCore |
What can it be? Thanks in advance. |
|