[Qt-creator] Build progress bar usefulness

Carter, Nathan NCARTER at bentley.edu
Thu Jul 15 03:07:34 CEST 2010


>>> Is it?
>>> 
>>> .../src/plugins/fakevim > qmake
>>> .../src/plugins/fakevim > make -n
>>> 
>>> make: Nothing to be done for `first'.
>> 
>> Didn't make -n give the right answer here?
>> Just running qmake doesn't mean that make is going to have anything to do.
> 
> But next time a source file changes 'make' _will_ have something to do,
> even if no qmake run is needed. Re-using the empty result of the 'make
> -n' run after the last qmake run does not solve the problem.

Oh yes, that's correct.  My error.

>>> Maybe you are aiming at make -B -n:
>> 
>> No way!  I'm aiming to ask make what it will do on the next run, so
>> that Creator knows how many build steps *it* will expect make to do
>> when Creator runs make. 
> 
> So running 'make -n' before each "proper" 'make', i.e. spending 50 more
> seconds when building e.g. Creator, is needed after all?

No, we don't actually know whether it takes 50 seconds without the -B switch.  Does it?

Nathan



More information about the Qt-creator-old mailing list