Bug 345043 - Make it possible to select environment for the QMake builder process
Summary: Make it possible to select environment for the QMake builder process
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2015-03-11 09:18 UTC by Kevin Funk
Modified: 2017-05-29 07:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Funk 2015-03-11 09:18:35 UTC
Just like the way it is for Make/Ninja

Reproducible: Always
Comment 1 Michael 2015-06-01 08:56:14 UTC
This is definitely an inconvenience. Currently switching build tools means wiping the project clean and starting from scratch. 

Of course doing this in a very robust way is difficult since CMake demands you delete existing build files when switching from one build system to another.  It means to do a very nice job would mean saving all the CMake build options and recreating them with Ninja instead of Make.  (Or vice versa, if Ninja were somehow giving you problems.  I haven't heard of that happening recently though.) 

A simpler way to do it for the time being would be to allow the user to wipe everything clean and start from scratch using a different build system.  They can enter their CMake options again if they have to.  (I always write down my configuration options in separate notes files anyway, those variables are too volatile to rely on a separate system to remember them for me.)
Comment 2 Kevin Funk 2015-06-01 10:24:03 UTC
@Michael: This bug report is not about switching build tools. It's about being able to modify the environment variables for a given build tool (qmake).

Please report your issue in a separate bug.