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

List:       kde-devel
Subject:    Re: Newbie KDE/QT Programming question...
From:       Fabian Wolf <fabianw () gmx ! net>
Date:       2001-07-20 5:52:19
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 20 July 2001 01:08, John Toon wrote:
> [..]

Alright, let's do this step by step:

1.) you compile main.cpp (no moc-keywords): "g++ -I$QTDIR/include 
- -I$KDEDIR/include -c main.cpp"
2.) you create a moc file: "moc mywindow.h -o mywindow.moc"
3.) now you compile mywindow.cpp: "g++ -I$QTDIR/include -I$KDEDIR/include -c 
mywindow.cpp
4.) Finally you merge 'em: "g++ -o myprog main.o mywindow.o -L$QTDIR/lib 
- -L$KDEDIR/lib -lkdecore"

I can't see why that shouldn't work

Wolfy

- -- 
The young do not know enough to be prudent
and therefore they attempt the impossible -
and achieve it, generation after generation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7V8cXecDvLx8T7osRAslwAJ94xFGwr6LhD43MVy1I6wOR8ANtKQCfY0es
ryyelD+qPSUqy2tkWYqUAeM=
=nDTV
-----END PGP SIGNATURE-----
 
>> Visit http://master.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