Bug 65194 - qmake manager generates incorrect library path
Summary: qmake manager generates incorrect library path
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 3.0.0a7
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-29 18:46 UTC by Stephen Wardlaw
Modified: 2003-09-30 21:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Wardlaw 2003-09-29 18:46:22 UTC
Version:           3.0a7 (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
OS:          Linux

In a project where the root type is "subdirs" and having a static library directory "Libs" and a "src" directory containing the main application.
When the "Libs" box is checked in the "Libraries" tab of the "src" qmake manager wizard, the "src.pro" file entries are:

LIBS += ../Libs/home/swdevelop/qtdemo/bin/libtest.a \
        /home/swdevelop/qtdemo/bin/libtest.a 
TARGETDEPS += ../Libs/home/swdevelop/qtdemo/bin/libtest.a 

This should be:

LIBS += /home/swdevelop/qtdemo/bin/libtest.a 
        
TARGETDEPS += /home/swdevelop/qtdemo/bin/libtest.a 

When the "src.pro" file is hand edited, the project links correctly.
Comment 1 Andreas Koepfle 2003-09-30 04:04:01 UTC
Are you using absolute desitionation paths for the Libs? 
This is rather unusual, because your projects won't build for another user/on another 
machine/if you move the project directory... 
However I tried to fix it in CVS. 
Could you please check whether the fix works for your project? 
Comment 2 Andreas Koepfle 2003-09-30 21:01:35 UTC
*** Bug has been marked as fixed ***.