[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Hello World newbie woes
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-03-31 11:57:33
Message-ID: 200403311357.33787.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 31 March 2004 12:57, Martin Welch wrote:

> ---------------build2---------------------
> c++ -c -I$KDEDIR/include -I$QTDIR/include -fno-rtti main.cpp -o main.o
> $QTDIR/bin/moc khello.h -o khello.moc
> c++ -c -I$KDEDIR/include -I$QTDIR/include -fno-rtti khello.cpp -o khello.o
> c++ -L$KDEDIR/lib -L$QTDIR/lib -lkdeui -lkdecore $QTDIRqt -ldl -o khello
> main.o khello.o
> ------------------------------------
>
> I'm fairly confident that the source code is right and its my build scripts
> that are wrong.
> Q1: Why does the output files (hello.o etc) always have an \r appended to
> the names?

I don't think that's necessary, never seen it before.

> The only thing in my scripts that's different is that I've changed -qt to
> $QTDIRqt since

It should be -lqt not -qt but I guess that was a typo.
On KDE3 systems Qt is usually used in its threaded version named qt-mt
Try -lqt-mt instead

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic