| Summary: | Project/Configure Selection does not take qmake extra arguments into account | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | RJVB <rjvbertin> |
| Component: | Build tools: QMake | Assignee: | kdevelop-bugs-null |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | wouter |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 5.2.80 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
RJVB
2018-09-14 12:55:34 UTC
Source code hint: Check kdevelop.git:plugins/qmakemanager -- start by grepping for 'args' or 'extraArguments'. This is probably easy to fix. Look into CMake support to find inspiration how to solve. Note: Just a hint if someone wants to pick this up; not meant to RJVB directly. > not meant to RJVB directly.
Didn't take it that way (but I'd have figured out a fix if I used QMake projects more often).
(And thanks for correcting the subject. Usually I notice when my sh*tty notebook keyboard didn't register a stroke...)
This bug is still present in KDevelop 5.6.1. It looks like both the QMake Builder and QMake Manager plugins have a QMakeJob class in the code, but they differ quite a bit. The latter plugin adds the "Run QMake" context menu entry, which works correctly (see QMakeProjectManager::slotRunQMake where it adds the arguments to the job). It looks like part of that code should be added/moved to QMakeBuilder::configure to fix this. |