FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Broken after update to Kubuntu 11.04

 
Post new topic   Reply to topic     Forum Index -> QtD
View previous topic :: View next topic  
Author Message
Mitu



Joined: 22 Sep 2009
Posts: 59
Location: Poland

PostPosted: Sat Apr 30, 2011 9:05 am    Post subject: Broken after update to Kubuntu 11.04 Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group