Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Is this safe to symlink and distribute Qt libs in Windows?

$
0
0
I’m going to make my own Qt SDK for the new version of Qt. I’ve compiled Qt Creator and Qt Libraries + Documentation. Now I’m making the installer. The problem is that it’s just too big (3.09 GB) which has unwanted redundancy amount of about 1.34 GB discussed here [qt-project.org] . Following Wilk’s suggestion [qt-project.org] , I’m planning to remove redundancy with symlinks of Windows (mklink). Is it possible to reduce size with symlinks in Windows? Well, I do a test myself. It seems to work. I can see different between sizes after compressing with 7zip. With mklink, size of archive is 16.4 MB (17,279,798 bytes) and without , is 32.0 MB (33,640,491 bytes). Though paths are relative (and AFAIK should be). Is that supposed to work on a machine other than my PC (the one that links are created) Test case is this: e:\workspace\t2\l1>mklink Qt5V8.dll ..\..\t1\l1\Qt5V8.dll symbolic link created for Qt5V8.dll <<===>> ..\..\t1\l1\Qt5V8.dll   e:\workspace\t2\l1>mklink Qt5V8d.dll ..\..\t1\l1\Qt5V8d.dll symbolic link created for Qt5V8d.dll <<===>> ..\..\t1\l1\Qt5V8d.dll

Viewing all articles
Browse latest Browse all 18427

Trending Articles