Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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.

Change History (3)

comment:1 Changed 15 years ago by Dmitry A. Kuminov

Resolution: fixed
Status: newclosed

Done in r215.

comment:2 Changed 15 years ago by Silvan Scherrer

i can confirm it works :)

comment:3 Changed 15 years ago by Dmitry A. Kuminov

Good.

Note: See TracTickets for help on using tickets.