Hi,

I'm using QT Creator 2.1 under Win7 and with the following code I got this error :

error: undefined reference to `File::file_exists(QString const&) const'

The code
Qt Code:
  1. if ( _myfile.file_exists("test.txt") )
To copy to clipboard, switch view to plain text mode 

The class code
Qt Code:
  1. bool file_exists(const QString & file) const;
To copy to clipboard, switch view to plain text mode 

I have the same problem with other files, by example
Qt Code:
  1. FinancialCategory* category = ...;
  2. Product::get( category );
  3.  
  4. ...
  5.  
  6. namespace Product {
  7. bool get(Category* c)
  8. }
To copy to clipboard, switch view to plain text mode 

And I got this error : error: undefined reference to `Product::get(FinancialCategory* c)'

If I do the following it works Product::get((Category*) category ) ... but it should be handled automatically ?

Thanks for your help