Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.6.0
-
Ubuntu 14.04.3
-
d0db212575909ca18244bdfc99b952dffcd0e902
Description
Reproduction steps:
- create a symbolic link to a folder (lets call it LinkToFolder);
- put the attached project folder "Test" on it;
- open the project "Test.pro" on Qt Creator — IMPORTANT: When asked to choose the project file, choose it through LinkToFolder — and configure the default shadow build;
- compile the project. I let a missing semicolon in main.cpp, so a compile error will occur;
- on the "Issues" panel, the first issue message points to main.cpp through the original folder (the one LinkToFolder points to). If you open main.cpp clicking on this issue message, Qt Creator thinks the file is outside the project, which will cause the warning "This file is outside the project directory" when trying to edit it;
- the second issue message points to main.cpp through LinkToFolder, so, opening main.cpp clicking on this message causes no problem.
I could only reproduce this problem using subdirs projects. If you try to open the subproject "sub.pro" directly, this problem will not occur.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-15169 Inappropriately long path listed for file added to qml.qrc
- Closed
-
QTCREATORBUG-15897 internal parsing of pro/pri files seems to be errorprone with symlinks in the project path
- Closed
- relates to
-
QTCREATORBUG-18360 Projects with CMake do not handle build directories with symlinks properly
- Reported