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

List:       kde-devel
Subject:    Re: Undefined reference in KFileDialog
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2003-12-12 11:14:54
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 12 December 2003 09:52, Christian Leh wrote:
> hi .. i have some problems with KFileDialog
>
> i am using this line in my code:
> KURL url = KFileDialog::getOpenURL(QString::null, QString::null, this,
> i18n("Open source file"));
>
> at compile time i get this error (no matter which static funtion if
> KFileDialog i call):
> *compiling kgci.cpp (g++)
> *linking kgci (libtool)
> */home/moodwrod/dev/kgci/src/kgci.cpp:128: undefined reference to
> `KFileDialog::getOpenURL(QString const&, QString const&, QWidget*, QString
> const&)'
>
>
> when i compile other apps which use this method, everything works fine..
> did i forgot something?

Most likely you are not linking with libkio
Check the linker command line if it has -lkio somewhere

Cheers,
Kevin

[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