[Qt-creator] Updating from git

Brian McGillion brian.mcgillion at symbio.com
Tue Mar 2 08:33:51 CET 2010


Hi,

Use creator :)

Open creator and choose "new file or project", then from the vcs section
choose the "git repository clone". Give the gitorious address of
creator.

When checked out, choose to use a "shadow build directory" in the
projects tab (on the left) -> "build settings".  This allows for an
easier clean up of the build objects if required.  Alternatively, you
can clean the git sources using "git clean -dxf" , but be careful it
will delete anything that is not checked into git.

Build as you normally would.

To get the latest use the tools->git menu item, and choose "pull".  if
you have made changes, i.e. built the project, it will ask you if you
want to stash your changes, just choose yes and the latest will be
pulled.  then if needed you can do a clean build or a normal incremental
build or run qmake; all from the build menu.


Br,
Brian

On Tue, 2010-03-02 at 00:43 -0500, Colin Kern wrote:
> Hi,
> 
> I'm a git novice, and I'm wondering what the correct way to update my
> local QtCreator build from git is.  Last time I did this, I tried:
> git pull
> qmake
> make
> 
> and that seemed to cause a lot of problems.  I finally just nuked my
> directory and cloned the repository from scratch.  What's the right
> way to do this?
> 
> Thanks,
> Colin
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100302/370257e0/attachment.bin 


More information about the Qt-creator-old mailing list