[Qt-creator] *.cpp & *.h lost from project ?

Jordi Pujol jpujolf at gmail.com
Wed Aug 18 11:30:21 CEST 2010


> > I've never seen the *.h wildcard used in .pro files either! Nice find if it
> > works!
> > 
> don't do it - it makes your build system not know about file additions,
> i.e., you have to remember to run qmake (even more often :}).

A simple trick to update the tree quickly : edit .pro file, ( delete &
re-enter last blank line it's enough ). Save it and ... voila !! New
files / deleted files appear / disappear from the file tree ;-P

Exiting & entering to QtCreator does the same effect...

> the original problem is
> http://bugreports.qt.nokia.com/browse/QTCREATORBUG-1364

OK, I'll update my windows machine to 2.1.0 as soon as possible to avoid
this problem.

Many thanks,

	Jordi.




More information about the Qt-creator-old mailing list