I'm a little confused as to why a 3rd party .dll I'm using comes with a .lib file labeled as an "import library." When I run the program, I just place the .dll in the same directory as the executable and it works. I'm using MinGW.
Could someone explain why the .dll comes with a .lib import library if I don't even need it? How would I even use it and where should I put it if I did use it with MinGW?
I read up on it and it looks like the .lib file is not needed by MinGW (what I'm using) and is needed by MSVC. Why is this?
P.S. If I wanted to put a .dll in a directory other than the directory containing the executable, could I put a line in the .pro file to point to it?