[Qt-interest] Keeping up-to-date with git
Andreas Pakulat
apaku at gmx.de
Tue May 25 06:56:18 CEST 2010
On 24.05.10 18:21:15, Stephen Chu wrote:
> In article <201005242138.02213.kde at mosehansen.dk>,
> Esben Mose Hansen <kde at mosehansen.dk> wrote:
>
> > On Monday 24 May 2010 16:07:46 Stephen Chu wrote:
> > > I know I need to do a 'git fetch' to get the new commits. Then should I
> > > just do a 'make' then a 'make install' or should I run 'configure' again
> > > before that?
> >
> > You probably want "git pull", not git fetch. Git fetch will not update the
> > current branch, so you will get no new code.
> >
> > You probably don't need to run configure again, though it doesn't hurt.
>
> Thanks.
>
> Does re-running configure cause it to re-compile the whole thing?
No, but it does cause more recompilation than a plain make. Sometimes
though running configure is necessary.
> I am trying to avoid rebuild the whole thing since it takes so long to
> do it.
I suggest to add -nomake examples -nomake demos to the configure line.
This disables building of the examples and demos which takes quite a lot
of time because qmake is so slow and is run for each of them. Also if
you don't want to distribute your Qt it might make sense to add -release
or -debug to build only debug or release libraries (default is building
both). That should help your compilation times quite a bit.
Andreas
--
If you stand on your head, you will get footprints in your hair.
More information about the Qt-interest-old
mailing list