Summary: | QMake manager, subproject configuration, custom variables, missing choice to use += instead of = | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Tobias Erbsland <bugs.kde.org> |
Component: | Build tools: QMake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Fix problem with custom variables
Fix problem with custom variables [improved] |
Description
Tobias Erbsland
2005-03-08 10:06:33 UTC
As a workarround for += one can use QT = $$QT xml network for example. But KDevelop (3.2.2 here) is not able to read Custom Variables with blanks in it again, so if close and reopen my project or KDevelop I get the following in my qmake-manager: Name: Value: QT $$QT the "xml network" is missing. If I exit the qmake-manager with 'OK' this wrong value will be saved to my *.pro file and thus breaks it. The deleting of the stuff after the first space also happens after inserting a new existing file into the project. This is really annoying, as it makes compiling and linking fail. I think it constitutes data loss that the variable is reset to just the first item in the list. That is a serious bug. I'm experiencing the same problem... when I try to modify for variables QMAKE_CXX = ccache g++ Created attachment 14220 [details]
Fix problem with custom variables
The patch is applicable in
buildtools/qmake
Created attachment 14233 [details]
Fix problem with custom variables [improved]
I think this is a better solution
Fixed in svn, for Qt4 you can use all operators that exist |