[Qt-creator] New files not added to project?

Frank Siegert frank.siegert at durham.ac.uk
Fri Jun 19 14:48:54 CEST 2009


Thorbjørn Lindeijer, Friday 19 June 2009:
> > are there any news on that?
> > With the 200906190132 snapshot this still doesn't work.
>
> Unfortunately I didn't get around to this. I've raised the priority
> flag on it now. :)

No problem, it's not urgent for me, just didn't want it to get forgotten 
completely.

There is a related problem, namely when "svn update" adds files, Creator 
doesn't know about them either (assuming the other developers don't use 
Creator and thus the project files are not on SVN). But I guess that's 
harder to fix, parsing the svn update command for new files sounds ugly.
So I have resorted to regularly using a simple script to keep my project 
files up-to-date with SVN:

#!/bin/bash
svnnodes=$(svn ls -R | grep -v Decaydata);
rm -f $1.includes $1.files
for i in $svnnodes; do
    if test -d $i; then echo $i >> $1.includes; fi
    if test -f $i; then echo $i >> $1.files; fi
done


Frank





More information about the Qt-creator-old mailing list