0

I have a Qt Creator project, its a Windows application. It depends on some libraries I installed using vcpkg and others.

I managed to set INCLUDEPATH to add .h search path on the project file. And similarly I set LIB so it finds the .lib files. Since this is on the .pro file and I have it on git configuration is done once.

Then to run, I go to Run Settings and edit Path including path to the .dll files, so far so good. This configuration is kind of an issue because it is not on the .pro file and I have to set this path every time I get things from git.

Is there any way to set this (the path to search for dll files) on the .pro file?

KcFnMi
  • 5,516
  • 10
  • 62
  • 136

1 Answers1

0

You may add the below clause to your pro file

win32:LIBS += "C:/mydlls/mydll.dll"

or

LIBS += "C:/mydlls/mydll.dll"

according to this doc

Pat. ANDRIA
  • 2,330
  • 1
  • 13
  • 27