[Qt-interest] Hi Trolls, I have a problem of cohabitation between Qt 4.3.4 and Qt 4.7

Fabio Giovagnini fabio.giovagnini at aurion-tech.com
Wed Sep 29 10:55:17 CEST 2010


Hi All, I try to explain better.

I distribute a tools in source version abd binary version together.
the binary version has the following folders' structure:
<install_DIR>\
tool
plugins
qtlib

and the nullsoft installer add to the system path <install_DIR>\qtlib
to make the tool runnable

Well, now I have a version based on qt-4.3.4 and another version of the same 
tool based on qt-4.7

If I install before teh qt-4.3.4 based one, and later the qt-4.7 based one ; 
the last doesn't work telling me the application cannot find a function in 
QtCore4.dll

This is right becouse I have first in the PATH the folder containing the 
qt-4.3.4 version of QtCore4.dll and after the qt-4.7 version of QtCore4.dll 
with the same name. So the dynamic linker loads teh first one ignoring the 
second one being the right one.

How can I approach this problem.

Where could I study deeper about qt version cohabitation?

Thanks a lot

-- 
Ing. Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com



More information about the Qt-interest-old mailing list