It is not possible for application to do so, it is managed by OS. The dlls need to be either in the same directory as the application's running directory, or in one of the directories configured in system path.
You can have dlls in /lib (or wherever you want), if you access them by QLibrary (which in your case I assume is not the case)
Bookmarks