Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If you mean qmake (*.pro file), then:
LIBS *= "path_to_dll"
INCLUDEPATH *= "path_to_headers"
To include a DLL library in a *.pro file, you need to add:
LIBS += full path to the .lib file
Or for system libraries:
LIBS += -lUser32
DLL library consists of .lib, .h and .dll files. .exe needs .lib and .h to build. Then, when you run the .exe, there should be a .dll somewhere nearby.
After changing the pro file, be sure to right-click on the project and run Run Qmake.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question