how can i compile and run kde-programs with the qt-librarie
Christopher Molnar
molnarc at nebsllc.com
Sat Jan 29 16:22:09 GMT 2000
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
>
More information about the KDevelop
mailing list