PDA

View Full Version : Linking fftw, etc with qt



metanoya
15th June 2008, 10:52
Hi

Can anyone please help me? I am new to Qt and have only used qmake -project and qmake to compile Qt applications. I need to link in the fftw and hdf5 libraries with Qt (in other words, I'd like to create a GUI application that is able to perform an FFT and also open .h5 files). Can anyone please tell me how to link in those libraries when compiling a Qt application?

Thank you very much.

wysota
15th June 2008, 11:32
Add LIBS+=-lfftw (or similar) to your qmake project file and rerun qmake.

metanoya
15th June 2008, 20:13
It worked. Thanks a lot!