[Qt-creator] SOLVED: Starting debugger launches RELEASE version, not DEBUG

David Ching dc at remove-this.dcsoft.com
Tue Oct 6 17:55:21 CEST 2009


"André Pönitz" <andre.poenitz at nokia.com> wrote in message 
news:200910060832.34694.andre.poenitz at 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

 




More information about the Qt-creator-old mailing list