[Development] Qt 6 co-installability with Qt 5

Elvis Stansvik elvstone at gmail.com
Wed Feb 24 08:54:21 CET 2021


Den tis 23 feb. 2021 21:27Joerg Bornemann <joerg.bornemann at qt.io> skrev:

> On 2/23/21 8:52 PM, Thiago Macieira wrote:
> > On Tuesday, 23 February 2021 00:00:22 PST Joerg Bornemann wrote:
> >> On 2/20/21 2:44 AM, Thiago Macieira wrote:
> >>> Besides, doesn't Windows now have symlinks?
> >>
> >> For admin users only unless an admin user enables them for everyone.
> >> Hard-links are available though on NTFS.
> >
> > Can we use the hard-links then?
>
> CMake supports creating hard links with file(CREATE_LINK).
>
> "cmake --install" does not directly support creating hard links. One
> would probably have to use install(SCRIPT) with a script that runs
> file(CREATE_LINK).
>
> For the installer, 7zip supports storing hard links since 9.33.
>
> Without trying anything, it looks like using hard links could work.
>

I guess it rules out installing to e.g. a FAT-formatted USB-stick, but I
don't know if that's a thing. Could be considered an edge case and
documented not to work.

Elvis


>
> Cheers,
>
> Joerg
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20210224/b7c27c45/attachment.html>


More information about the Development mailing list