Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Help with using 3rd party library with Qt

$
0
0
I know this is somewhat off-topic to this forum section but I’m really in a hurry, so please let me through this time. I have been using QMultimedia to play media files, and now it comes to audio decoding. I have decided to stick with SoX for a while. But the things is I have spent a week tried to use libSoX, but it will always give me this: formats: no handler for file extension `mp3' check failed: input = sox_open_read(argv[i], NULL, NULL, NULL) with Vorbis/ogg, it’s the same. formats: no handler for file extension `vorbis' What I have done is: Download SoX from here: http://sox.sourceforge.net/Main/HomePage Extract, cd inside then:  ./configure make sudo make install Install libsox-fmt-all After that, I could use sox and play in terminal to tweak with audio files with no problem at all. But when I include libsox in my .pro file like so:  LIBS += -lsox And #include <sox.h> It won’t find the codec handle. If anyone is familiar with using thirdparty lib that depend on other lib like SoX, or have used SoX with Qt, please show me what I have done wrong. I’m really in your debt. Regard.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>