[Qt-creator] build settings for cross platform? multiple svn checkouts on each development computer
Tobias Hunger
tobias.hunger at nokia.com
Mon Apr 26 12:13:20 CEST 2010
Hi Danny!
Sorry, I really do not see anything to fix in creator for the following
reasons:
* No variable is ignored. DESTDIR is relative to the build directory,
so it is set and used correctly (but points to a location where the
stuff it is looking for is not found).
* No build pathes are changed. Everything is put exactly where specified.
* Creator does not interfere with anything set in the .pro-file.
Your example project layout is basically three separate projects, tied
together using relative pathes so that the libraries are found. That
does indeed break in the presence of shadow building (or even more minor
changes like the user checking out these three projects into separate
directories, renaming some directory, etc.). I do not know your project
requirements and there is probably a good reason for doing things the
way you did, but I would really suggest making the build system more robust.
The preferred way is of course (as you already suggested) to bundle the
libraries and the application using them together into one SUBDIRS
project. That way you do get dependency tracking and the libraries will
get automatically rebuild when they are changed. This further should
ease packaging of the complete thing.
If you are reusing the same libraries together with several applications
you can of course have several top-level SUBDIRS project files (one for
each application, referencing the application itself and all libraries
used by it).
Best Regards,
Tobias
--
Tobias Hunger
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
More information about the Qt-creator-old
mailing list