how can i compile and run kde-programs with the qt-librarie

Benoit Cerrina benoit.cerrina at writeme.com
Tue Feb 1 21:02:50 GMT 2000


Hi,
lets stay off topic, I've answered abruptly to people posting in german before,
one thing I hoped is clear is that none of us here expect everybody to have
perfect english, its just that it happen to be a language that most programmer
know and we can communicate.  I'll make a lot of efforts to understand very bad
english (and actually english is a language which makes it easy to be clear
even if you don't know it perfectly which is very different from say french or
german).  It's just that posting in German (or french or japanese) in an
international mailing list is really hard on us which do not understand it.
Ben

On sam, 29 jan 2000, you wrote:
> Hello Peter....
> 
> I am not sure if anyone replied to you yet, but your English is much
> better than you think! Don't appologize for it. I could only wish that my
> German was that good. It was slightly embarassing this past summer when I
> was visiting Germany with a tour(I actually spent a few days in Dresden),
> and then went on to visit relatives in Staudach that I had forgotten most
> of my high school German. You are so lucky to be encouraged (if not
> required) to learn and understand other lanquages from a very young age.
> 
> Enough of that off topic chatter.... 
> 
> As soon as I am done re-compiling my KDE install (takes a few hours) I 
> will take your program and see what the results are here. I know that my 
> install is pretty good.
> 
> ---------------------------------------------------------
> Christopher Molnar
> New Enland Business Services, LLC      Aetna, Inc.
> Hartford, CT USA                       Middletown, CT USA
> molnarc at nebsllc.com                    molnarc at aetna.com
> 
> On Sat, 29 Jan 2000 Prost02 at aol.com wrote:
> 
> > hello there,
> > 
> > my name is peter rost and i'm a "young" c-programmer. i'm living in dresden, 
> > germany and so my english is'nt so good. please excuse me.thanks. but now my 
> > problem: i wrote a simple kde-program like this: 
> > 
> > #include <qapplictaion.h>
> > #include <qpushbutton.h>
> > 
> > int main(int argc, char **argv) {
> >     QApplication App(argc, argv);
> >     QPushButton Button(0, "hello world");
> >     
> >     Button.resize(100, 30);
> >     App.setMainWidget(  &Button);
> >     Button.show();
> >     return App.exec();
> > }
> > 
> > i compiled it with : g++ first.cc -o first.e -shared 
> > /home/user/lib/qt/lib/libqt.so.2.0.2 or with .../libqt.so.1.44
> > 
> > then i wanted to run it in a terminal with: first.e &
> > but the terminal gave me the failure message: "Segmentation fault". What's 
> > that? can you help me, how i can let it run on my system. i'm using a 
> > S.u.S.E. - 6.1 distribution. and so i tried it with kdevelop, but it gave me 
> > the failure message : "make: no rule for target ***", or something like this. 
> > you see i made everything to run a kde-program, but it didn't funtionize. 
> > 
> > please help me, thanks - peter rost from dresden.
> > 
> > email: prost02 at aol.com
> >
-- 
Benoit Cerrina




More information about the KDevelop mailing list