Deploying Qt DLL on Windows

I have a plugin for an application from another company. My plugin uses Qt, so it needs a Qt DLL. My problem is that all 4.x versions of Qt Dlls are called the same, e.g. .: QtCore4.dll. It is possible that some other plugin or other application that is inserted into the PATH environment variable has placed the Qt dll in the application folder. In this case, the plug-in does not start because it expects a different version of the DLL.

  • Q1. What is the suggested common practice for deploying a DLL?
  • Q2. What if the host application uses a different version of Qt. Will the host application and plugin allow windows to use different versions ()?

Thanks!

+5
source share
6

A1: : DLL . DLL. .

A2: - Qt, , , , ( , ..).

Qt. LGPL , . , ..

, , - -.

+3

, : QT DLL (, , ) 4.X. ( 3.X ..), . , Qt dll .

+3

Windows XP (, XP, 2003, Vista, 2008 Win7) DLL. , , , , DLL, , .

, "DLL Hell".

+1

Qt?

DLL , /.

.

0

, DLL , /. , PATH - , dll QT4, , , , PATH.

Q1: , DLL system32, , PATH, , . , , - . , , , DLL , , . , jar Java.

Q2: . . , , , .

0

, dll, . Windows . , .

, Windows , dll . DLL . , .

( ) dll , , , . Windows , DLL - . DLL PATH (, ). Rapid Environment Editor - , .

, dll - DLL , PATH, .

0