[Qt-creator] Release/debug mess with VS2003 build

Scott Morgan blumf at blueyonder.co.uk
Wed Jul 15 16:11:02 CEST 2009


Got the Qt source and built it with VS2003, pointed QtCreator at it and
stuff builds but there seems to be a mess with release/debug matching in
the qmake step.

If the .pro file has the following:

debug {
  LIBS += MyDebug.lib
}
release {
  LIBS += MyRelease.lib
}

Both libs get included in both debug and release versions of the makefile.

Adding the following to the .pro file to list what config items are
being set:

message(--------------------------)
for(val, CONFIG) {
  message($$val)
}

Shows that there is a mess of release and debug items set for both
versions of the build. Currently it seems 'Release' and 'Debug' (note
the caps) items work correctly, but where are the other, spurious, items
coming from?

Scott





More information about the Qt-creator-old mailing list