[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Newbie KDE/QT Programming question...
From: John Toon <john.toon () btinternet ! com>
Date: 2001-07-19 21:24:26
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm running KDE-2.1, and I've been following the examples in the online
book "KDE 2.0 Development" by David Sweet, et al. However, after
compiling, whenever I try to link the object files from the examples, I
get this problem:
[john1@localhost sillyprog]$ g++ -o myprog main.o mywindow.o
- -L/$QTDIR/lib -lqt
main.o: In function `main':
main.o(.text+0x3a): undefined reference to
`KApplication::KApplication(bool, bool)'
main.o(.text+0x119): undefined reference to
`KApplication::~KApplication(void)'
main.o(.text+0x18c): undefined reference to
`KApplication::~KApplication(void)'
mywindow.o: In function `MyWindow::staticMetaObject(void)':
mywindow.o(.text+0x124): undefined reference to
`MyWindow::slotButton(void)'
Any ideas why I'm getting this? I'm sure I've typed the examples in
correctly. Has something changed between KDE-2.0 and 2.1?
John.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7V1AN/bmJi/HoKMQRAhmwAKCRI6kRxOtY0pB//H1AQYLnYSxsjACfQE6v
gyvo6PEllUAbq2HTn+RzDWI=
=tsDQ
-----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