#84 closed enhancement (fixed)
Add DosSetExtLIBPATH to QProcess()
Reported by: | Dmitry A. Kuminov | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | Qt Beta 3 |
Component: | QtCore | Version: | 4.5.1 Beta 2 |
Severity: | Keywords: | ||
Cc: |
Description
There is a common problem of searching for the right DLLs for the application being started in OS/2: by default, the OS/2 loader doesn't search for DLLs in the directory where the .exe is located (which is a very common and natural case) which requires to put the DLL to the system DLL location (badly bloating it) or craft a .cmd that sets a proper BEGINLIBPATH/ENDLIBPATH. Both ways suck.
I've got an idea to do DosSetExtLIBPATH() with the exe's path implicitly in QProcess before starting the application (and undo afterwards) to make this search location transparent both for the end user and for the Qt developer.
Unless I discover some bad side effects, I'll do it like that.
Done in r215.