Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.6.0
-
None
-
Mac OSX 10.8.2 running virtual Windows 7 and Qt 4.8.4.
Description
I'm not quite sure which component this fits in – I chose "Project Management", feel free to correct.
1. Right click on Project, choose "Add Library"
2. Select External Library and click Next.
3. Choose a static library located on a different drive than the project.
This wizard adds the following wrong path to the .PRO file (notice the "$$PWD/D:/"):
INCLUDEPATH += $$PWD/D:/MyLib/include
DEPENDPATH += $$PWD/D:/MyLib/include
win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/D:/MyLib/lib/mylib.lib
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/D:/MyLib/lib/mylibd.lib
And the build error:
Error: dependent 'C:\MyProj\D:\MyLib\lib\mylib.lib' does not exist.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-16688 The "Add Library" Wizard produces false paths when different harddisk drives on Windows are used.
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-8413 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
167351,3 | Fix AddLibraryDialog when selecting the lib from different drive | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |