Screensaver - How to?
Thorsten Gecks
t_gecks at informatik.uni-kl.de
Thu Jan 3 10:23:12 GMT 2002
On Wed, 2 Jan 2002, Sebastian wrote:
Looks very much like you've forgot to link all needed libraries. Try to
look for the library containing KScreenSaver and link it to your project.
(See linker options in project options of kdevelop).
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> I want to programm a screensaver for KDE. Since there is no "screensaver"
> template in Kdevelop, I created an empty KDE Mini Project and inserted the
> files
> - blankscrn.cpp
> - blankscrn.h
> which I downloaded from developer.kde.org (with this web CVS thing).
>
> When I triy to compile this I get errors like this:
>
> - ----------------CUT-----------------
> /home/sebastian/screensaver/screensaver/blankscrn.moc:33: undefined reference
> to `KScreenSaver::className(void) const'
> blankscrn.o: In function `KBlankSaver::staticMetaObject(void)':
> /home/sebastian/screensaver/screensaver/blankscrn.moc:56: undefined reference
> to `KScreenSaver::staticMetaObject(void)'
> blankscrn.o: In function `KBlankSaver::KBlankSaver(unsigned int)':
> /home/sebastian/screensaver/screensaver/blankscrn.cpp:124: undefined
> reference to `KScreenSaver::KScreenSaver(unsigned int)'
> <.......>
> - ------------------CUT---------------------
>
> The question is: How do I write a minimal screensaver for KDE with Kdevelop?
> Please keep your answer simple, since I'm a C++ newbie. I'am just through the
> QT Tutorial, which was my first C++ GUI experience.
>
> Sebastian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8M2Rj4NVkXAbXev0RAqhUAKCDNsh5nNi8OGPYxsORENhkpIG6qwCgs3nG
> 3ten13GTnbKqO8A+A4DkXFc=
> =wXC2
> -----END PGP SIGNATURE-----
>
> -
> to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
>
>
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list