Results 1 to 3 of 3

Thread: Linking fftw, etc with qt

  1. #1

    Default Linking fftw, etc with qt

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Linking fftw, etc with qt

    Add LIBS+=-lfftw (or similar) to your qmake project file and rerun qmake.

  3. #3

    Default Re: Linking fftw, etc with qt

    It worked. Thanks a lot!

Similar Threads

  1. problem with order of libs during linking
    By minimax in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2008, 10:32
  2. Linking myLib with myApp
    By vermarajeev in forum Qt Programming
    Replies: 11
    Last Post: 20th February 2007, 13:51
  3. linking fftw 3.0.1
    By Yacob in forum General Programming
    Replies: 4
    Last Post: 18th January 2007, 15:14
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 4
    Last Post: 20th February 2006, 09:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.