Maybe this answer can help. https://stackoverflow.com/a/789025/20488960 Probably, you need to remove the -lib prefix and replace it with -l in the .pro file.
If that doesn't work, you can post your .pro file, and the full name of the file to give more details.