[Qt-interest] [OT] Politically Correct way to release an Open Source Qt Project
Daniel Price
daniel.price at fxhome.com
Tue Aug 3 13:11:08 CEST 2010
> installers became really necessary when applications began to replace
> numerous system shared libs. Windows Applications were more and more
> based on
> the latest ms*.dll 's , so every application had to inspect the version
> of
> each needed lib and to replace oder libs...
Yes and this is a biggest reason for the continued popularity of MSVC 6; Applications built with VC6 are almost always guaranteed to work on every PC because they rely only on very old system DLLs.
.Net developers have to bundle and installer to the required .Net runtime because it may not exist on the target platform.
But this is a case of developers being forced to find solutions to a fragmented platform design.
Linux has similar problems so it's not just MS are fault here :)
>
> Of course this is not necessary if the systems libs are well designed
> and
> reliable, no application needs to replace it ;-)
>
> Think about Qt shared libs: it is eaysy to copy each needed Qt lib into
> the
> application directory - no version conflict, no decision to replace
> older
> libs... But: ist this the goal of shared libraries?
Yes which is exactly what we do with OSX deployment - the required Qt libs are copied to the bindle and their paths are registered with the binary. This is hidden from the user.
You can do something similar on Windows but you cannot tie libraries and executables together - Windows uses its own rules for finding libraries (one of the causes of DLL hell). The only thing you can do is place the DLLs in the same directory as the executable and hope they are picked up correctly. If the user moves them, your application breaks.
This email is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you are not the intended recipient please notify the sender. Please delete the message from all places in your computer where it is stored. You should not copy the email or use it for any purpose or disclose its contents to any other person.To do so may be unlawful. Email is an informal means of communicating and may be subject to data corruption accidentally or deliberately. For this reason it is inappropriate to rely on advice contained in an email without obtaining written confirmation of it first.
FXhome Limited is a limited company registered in England and Wales. Registered number: 04172812. Registered office: The Henderson Business Centre, Ivy Road, Norwich, Norfolk, NR5 8BF, U.K.
More information about the Qt-interest-old
mailing list