Search code examples
qtqmake

How qmake set .dll and .lib file output path respectively


I'm a beginner of using qmake to create a project.
So how can I set the output of .lib and .dll file respectively when a library project?
I think is necessery that I can link the .lib file in other project from a path,and use the .dll file when executing in another path.
I have used cmake, it's possible. So I think qmake too.
But I can't find the method in document, anyone knows?


Solution

  • Try setting DESTDIR in your qmake file.