Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.9.0
-
None
-
Dev machine: ArchLinux
Remote Machine: Debian Stretch
Description
After updating to QtCreator 4.9.0 deploy breaks symlinks provided in target.files (sample project attached)
I have SampleEmbedded in /home/kuba/workspace/ so the project full path is /home/kuba/workspace/SampleEmbedded.
Inside /home/kuba/workspace/SampleEmbedded/lib/ I have 2 files:
libSample.so.1.0.0
libSample.so -> libSample.so.1.0.0
After deployment of the SampleEmbedded using QtCreator 4.9.0, I check ls command on Remote Linux: 'ls -l /opt/SampleEmbedded/lib/' and it gives me following:
libSample.so.1.0.0
libSample.so -> /home/kuba/workspace/SampleEmbedded/lib/libSample.so
So it looks like if you provide symlink to target.files inside *.pro file, it will deploy the symlink to Remote Linux, but instead of pointing to './libSample.so.1.0.0 it will point to it's original place on Dev machine (notice that after deployment it's not pointing to libSample.so.1.0.0 but to libSample.so)
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-22307 [4.8 -> 4.9] Deployment of symlinks sets wrong target path
-
- Closed
-