On sexta-feira, 4 de janeiro de 2013 12.45.12, Peter Kümmel wrote:
> >> Then
> >> qt.conf in the same dir as QtCore/qmake should be enough on Windows, or
> >> missed I something?
> >
> > You missed something. The question is: when running app.exe from a given
> > directory, how do you tell Windows to load Qt5Core.dll or QtCore4.dll from
> > a different directory?
> >
> > The only answer is what you gave above: change PATH. Because qt.conf isn't
> > used at this point.
>
> Still don't get it: when PATH is the only way to tell the app
> which Qt dlls to load, why do we need to patch the dlls?
> Or is PATH changed by app.exe before it loads the Qt dlls and has the
> paths compiled in?

Uh... sorry, my mistake.

Yes, qt.conf *is* enough for the purposes at hand: the loading of plugins and
other resources besides linked DLLs. That is, everything we load, as opposed
to the Windows loader.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to