I very much agree with this regarding QMake. The documentation is useless and I haven't the slightest idea how one is supposed to set different configurations for release and debug builds. I have my own work-arounds but like David, I don't understand the whole CONFIG(debug, debug|release) thing.
I would like to have something like: release{ DESTDIR = ../Release } else{ DESTDIR = ../Debug } One might think such a thing would work but it doesn't. Ideally, one would expect switching from Debug to Release in Qt Creator's project tab would allow one to change how QMake builds the project. I expect this can all be done, there's just no clear documentation. Dan Grubbs On Tue, Oct 6, 2009 at 11:55 AM, David Ching <d...@remove-this.dcsoft.com>wrote: > "André Pönitz" <andre.poen...@nokia.com> wrote in message > news:200910060832.34694.andre.poen...@nokia.com... > > I fail to see the "underlying issue". The qmake "language" is case > > sensitive > > like C, C++, Java, and lots of others. > > > > The fact that on case insensitive file systems file names embedded in a > > .pro file are not case sensitive has nothing to do with the language. > > This is pretty much the same as using a file name within C++ source code. > > > > There is no underlying issue regarding the qmake language implementation, > but from a user experience it is definitely not nice. My post was meant as > a warning: if Qt tools don't do what they are supposed to, check the case > sensitivity! BTW, someone else posted here a few months ago that on > Windows, the proper behavior was achieved ONLY by giving the incorrect > > CONFIG(Debug,Debug|Release) > > which was a bug that I guess has been fixed. Anyway, that's the only > reason > I even had the wrong case, was due to the post that says it would work. > > BTW, since we are discussing the qmake language, and are from Nokia, I > offer > you the feedback that the CONFIG(debug, debug|release) is very confusing; > as > well as the fact that the .pro is parsed up to 3 times with various > settings > of these. The doc (at least the doc that I have read) is not very clear > about this, and most users don't care whether BOTH release and debug are > defined, they just want to set different settings for release than for > debug. I don't understand the philosophy Qt is trying to offer with this, > and there are many posts of people who don't understand why > > debug { > } > else:release { > } > > do not work. > > So even though Qt is in general a joy to work with, when it comes time for > Nokia to discuss how to make Qt more usable, perhaps you will consider > this. > > > Thanks, > David > > > > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator