[Qt-interest] Library not found in project path

Matthias Pospiech matthias.pospiech at gmx.de
Mon Aug 23 09:48:48 CEST 2010


I have the path / library

C:\Users\Matthias\Documents\Cpp\Examples\LaserPulse\lib\other\fftw\32\libfftw3-3.a 

with the pro file in

C:\Users\Matthias\Documents\Cpp\Examples\LaserPulse\

I want to load the library with 

CONFIG(debug, debug|release){
    LIBS += -Llib/other/fftw/32/ -lfftw3-3
}

message($${LIBS})
gives Project MESSAGE: -Llib/other/fftw/32/ -lfftw3-3 

The compiler however complains that it is not there
ld.exe: cannot find -lfftw3-3 

what am I doing wrong? 

This happens with all lib files in the project path, this is just an example.
Non relative paths to the libraries makes them link - but I do not want to use any
absolute path.


Matthias



More information about the Qt-interest-old mailing list