Accessing value of lineEdit in .cpp file- [SOLVED]
-
It's not enough to simply include the <alsa/asoundlib.h> header in your code. You also have to tell the linker that you want to use the asound library. Use the LIBS variable in your .pro file to do so. I don't know for sure what the proper library name to use is (off the top of my head.) Probably want to use -Lasound or something like that.
There are a number of threads that discuss how to include libraries.
-
Thanks alot, I included this line in my wave.pro and it worked:
@LIBS += -lasound@ -
Good deal! Be sure to change the title of the thread to add [Solved] if everything is working now.