Bug 65194

Summary: qmake manager generates incorrect library path
Product: [Applications] kdevelop Reporter: Stephen Wardlaw <swardlaw>
Component: Build tools: QMakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a7   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***.