On Feb 3, 2010, at 10:20 AM, ext Danny Price wrote:

> 
> 
> On Wed, Feb 3, 2010 at 8:42 AM, Tobias Hunger <tobias.hun...@nokia.com> wrote:
> On 02.02.2010 19:22, ext Danny Price wrote:
> > I'm so used to trashing those files I've almost stopped thinking about it :(
> 
> In which situations do you trash those files? I have not had complaints
> about those files breaking. The exception being going back and forth
> between stable and unreleased versions of creator. My change should
> improve this situation a bit by keeping the stable versions .user-file
> around. So now you can at least copy the old version's file back when
> heading back to a stable release.
> 
> When working with nested subdir projects, I often get 'executable not found, 
> permissions wrong?' type errors when trying to run the binary.

Qt Creator creates run configurations for all TEMPLATE=app pro files.
Check what you active run configuration is in that case. If you regularly 
remove .user files, that setting will be lost of course, ending up with Qt 
Creator choosing one. Which seems to be the wrong one for you.

> Creator's support for subdirs is flakey at best (see below) so I often have 
> to open the project itself seperately so that it is top level. This must 
> confuse the user file as I have to delete it and reload the project to get 
> the program to run again.
> 
> I've also had issues where builds will fail for strange reasons in which case 
> trashing the use file again solves the problem. When in doubt, trash the file.

When in doubt, save the old .user file, close Qt Creator or the project (to get 
the new .user file written), file a bug report, with attached .user files, and 
a good description of what you did, what your state is now (e.g. active build + 
run configurations), what should happen, and what happens instead.

>  And Creator's issue with failing to relink with changed code means that a 
> build is often not sufficient; you have to do a rebuild!

If your code is not relinked (e.g. to static libs) correctly, then this is 
either a bug with qmake not creating the right dependencies in the Makefiles, 
and you should file a bugreport for project "Qt", component "Build System"; or 
it is missing/wrong PRE_TARGETDEPS / DEPENDPATH settings in your pro files.
(There were already some threads about this on this list.)

> Everyone seems to use subdirs in Creator including the Nokia guys at the Dev 
> Days and the KDAB courses I have attended. And all of them seem to be 
> suffering the same issues. I don't think anyone uses sessions with flat 
> projects.
> 
> The only reason I stick with Creator after all of this is because of the 
> superior code editor, auto-complete and the suckiness of XCode.

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to