[Development] Non-movable Qt build

Thiago Macieira thiago.macieira at intel.com
Fri Jan 4 12:27:14 CET 2013


On sexta-feira, 4 de janeiro de 2013 09.35.33, Peter Kümmel wrote:
> Isn't on Windows only PATH used to figure out which Dll to load?

Correct.

> 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.

> BTW, one thing which becomes at least more complicated by this binary
> patching is the signing of a shared library. I don't know if it is
> necessary (I only know that you can sign a dll in .NET), but I could
> imagine some day it will be used, e.g. to verify a program only uses by a
> specific build.
> (I already see the discussions because of LGPL  )

Since we're talking about LGPL, signing the library is unnecessary. And maybe 
even illegal, depending on your reading of the LGPL and how you consider that 
the GPLv3 applies.

The Windows installers are signed, as a whole, to ensure that they weren't 
tampered with.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130104/56467c58/attachment.sig>


More information about the Development mailing list