Bug 141470 - make options, more than one job
Summary: make options, more than one job
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: QMake (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Pakulat
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 04:29 UTC by Aleix Pol
Modified: 2007-02-10 11:12 UTC (History)
0 users

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 Aleix Pol 2007-02-10 04:29:22 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages

In the Make Options tab there is a "More than one job" check box that doesn't work (it uses the parameter inside the spinbox it is checked or not).

I'm using 3.4 svn version.
Comment 1 Andreas Pakulat 2007-02-10 11:06:13 UTC
Confiredm. Next time please state which build system you're using. (Its working for custom and automake)
Comment 2 Andreas Pakulat 2007-02-10 11:12:46 UTC
SVN commit 632221 by apaku:

Don't add -j if the option is turned off
BUG:141470


 M  +2 -1      trollprojectwidget.cpp  


--- branches/kdevelop/3.4/buildtools/qmake/trollprojectwidget.cpp #632220:632221
@@ -2017,8 +2017,9 @@
     }
     if ( !DomUtil::readBoolEntry( dom, "/kdevtrollproject/make/abortonerror" ) )
         cmdline += " -k";
+    bool runmultiple = DomUtil::readBoolEntry(dom, "/kdevautoproject/make/runmultiplejobs");
     int jobs = DomUtil::readIntEntry( dom, "/kdevtrollproject/make/numberofjobs" );
-    if ( jobs != 0 )
+    if ( jobs != 0 && runmultiple )
     {
         cmdline += " -j";
         cmdline += QString::number( jobs );