Bug 156440 - qmake manager should allow to set environment variables to be used for parsing qmake files.
Summary: qmake manager should allow to set environment variables to be used for parsin...
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: 3.5.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andreas Pakulat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-23 11:16 UTC by Andreas Pakulat
Modified: 2008-01-27 20:19 UTC (History)
1 user (show)

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 Andreas Pakulat 2008-01-23 11:16:46 UTC
Version:            (using KDE 3.5.8)
Installed from:    Compiled From Sources

QMake files can contain $$(foo) syntax, which means use the value of the environment variable "foo" when parsing this .pro file. Currently KDevelop only supports parsing these files when the environment variables are set before kdevelop is started. This may be problematic if you login via a display manager and that one doesn't read standard login files like ~/.bash_profile.

Thus the QMAke Manager Options dialog should have an environment variable widget to specify such environment variables.
Comment 1 Andreas Pakulat 2008-01-27 20:19:51 UTC
SVN commit 767302 by apaku:

Implement support for reading environment variables for parsing .pro files from the Make Options page (as its already done for the qmake run).
BUG:156440
Along the way fix a subtle bug - qmake allows absolute directory paths in SUBDIRS variable.


 M  +4 -4      qmakeoptionswidgetbase.ui  
 M  +25 -19    scope.cpp  
 M  +5 -4      scope.h  
 M  +25 -1     trollprojectwidget.cpp  
 M  +1 -0      trollprojectwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=767302