I found a sample C code that uses portaudio
.
To be able to compile the code I had to copy a header file and a library file on my working folder. So in my folder I have the following 3 files:
- main.c
- myheader.h
- libportaudio.a
In Linux I use this to compile the code:
gcc -o myprog main.c libportaudio.a -lrt -lasound -lpthread -lm
I now want to use QT creator on Linux to compile and debug the code.
How can add -lrt -lasound -lpthread -lm
parameters in QT creator and how and where to add the libportaudio.a
to the QT creator?