[Development] Qt 6 co-installability with Qt 5

Joerg Bornemann joerg.bornemann at qt.io
Tue Feb 23 21:24:01 CET 2021


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.


Cheers,

Joerg


More information about the Development mailing list