0

I'd like to be able to choose which oci.dll the Qt plugin is using, the Qt documentation states:

When you run your application you will also need to add the oci.dll path to your PATH environment variable: set PATH=%PATH%;c:\oracle\bin

Is there another way than changing the PATH?

gregseth
  • 12,952
  • 15
  • 63
  • 96

1 Answers1

0

You can subkey of the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths. See Adding a Application specific paths, so it works from the command line in Windows and Use registry to startup a program, and also change the current working directory? for details and other ways.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798
  • Thanks, but for portability I'd rather not use the Windows registry. – gregseth Jul 01 '10 at 13:32
  • Changing of environment variable is platform dependent. If you explain how you application will be started, I can suggest you another ways, but you wrote too little information in your question. – Oleg Jul 01 '10 at 13:56