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
if ( _myfile.file_exists("test.txt") )
if ( _myfile.file_exists("test.txt") )
To copy to clipboard, switch view to plain text mode
The class code
bool file_exists
(const QString & file) const;
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
FinancialCategory* category = ...;
Product::get( category );
...
namespace Product {
bool get(Category* c)
}
FinancialCategory* category = ...;
Product::get( category );
...
namespace Product {
bool get(Category* c)
}
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
Bookmarks