LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-04-2005, 07:56 AM   #1
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Rep: Reputation: 22
KDevelop: undefined reference


I get :
Code:
undefined reference to `KFileDialog::getOpenFileName(QString const&, QString const&, QWidget*, QString const&)'
at linking.

In my others projects this static function is known by the linker (ld) but not in this. Can anybody give me a hint ?

Last edited by bastl; 09-04-2005 at 08:00 AM.
 
Old 09-04-2005, 11:56 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Are you sure you have #include <kfiledialog.h> ?
 
Old 09-05-2005, 09:52 AM   #3
bastl
Member
 
Registered: Sep 2003
Location: Germany/BW
Distribution: My own
Posts: 237

Original Poster
Rep: Reputation: 22
Yesss !!!

I did have such behavior once ago and on different static functions of KDE.
.
Code:
KMessageBox::messageBox( 0, KMessageBox::Error, QString, QString )
is in the same class and that works;

May be this function is only defined within KMainWindow ?

Last edited by bastl; 09-05-2005 at 01:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference, why? george_mercury Programming 4 05-07-2009 12:15 AM
Undefined Reference ChemicalBurn Programming 2 02-14-2005 03:01 AM
undefined reference mp4-10 Programming 3 01-25-2005 12:38 PM
undefined reference error Quest101 Programming 3 01-01-2005 12:27 PM
undefined reference to 'errno' kbridger Programming 2 10-07-2003 05:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration