[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 12:41:57 CEST 2010
Thanks a lot for your answer;
Does your suggesiton allow me to avoid modifing teh system path variable?
I need the modifiy it I will have the the same problem, or not?
Thanks again and many regards
In data mercoledì 29 settembre 2010 12:04:03, Kai Koehne ha scritto:
: > On 9/29/2010 10:55 AM, ext Fabio Giovagnini wrote:
> > 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
>
> That seems to be a dump idea. What you can do putting the needed Qt
> .dlls and plugin directories in the same directory as your app.exe .
> This way you don't have to set any system path. E.g.
>
> <install_DIR>\tool.exe
> <install_DIR>\QtCore4.dll
> <install_DIR>\imageformats\qjpeg4.dll
>
> Check out e.g. how creator does this.
>
> Regards
>
> Kai
>
> > 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