Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to find the current path?
ManiRon last edited by
I want to add my mylib.dll file . I am adding the path in .Pro file .
But i want to detect the dll file path on its own. whether it is possible.
Vinod Kuntoji last edited by
Refer the following link
Ratzz last edited by Ratzz
i want to detect the dll file path on its own
You may need to all place the
.dllin the current executable path .
also try to set
rpathso that exe try to use the dll from the current exe path like
QMAKE_LFLAGS += -Wl,-rpath,"'\$$ORIGIN'"
Place the above line after all the content in the