[Qt-creator] qmake does not pick the right build configuration

André Pönitz andre.poenitz at mathematik.tu-chemnitz.de
Mon May 14 22:28:36 CEST 2012


On Mon, May 14, 2012 at 01:21:58PM -0700, Mohammad Mirzadeh wrote:
> Hi,
> 
> TO automate my configuration file, I have included 
> 
> debug {
>       SOFT_ARCH=$$(SOFT_ARCH_DEBUG)
> } release {
>       SOFT_ARCH=$$(SOFT_ARCH_OPT)
> }

Try

  CONFIG(debug, debug|release) {
       SOFT_ARCH=$$(SOFT_ARCH_DEBUG)
  }

  CONFIG(release, debug|release) {
       SOFT_ARCH=$$(SOFT_ARCH_OPT)
  }

Andre'




More information about the Qt-creator mailing list