Avoid adding a debug library to the glue projects, when debug_and_release
commit75b41faff44a1488d88eca6e910d4b617cb42221
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Wed, 7 Oct 2009 11:28:25 +0000 (7 13:28 +0200)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 7 Oct 2009 12:25:47 +0000 (7 14:25 +0200)
treeed78fe10695559cf9f1752b83575e9ef2f62c008
parent722d351de797135273a05ff0f4c63315bf37592d
Avoid adding a debug library to the glue projects, when debug_and_release

The VCPROJ/SLN generator generates dependencies on the glue project,
so the glue must use the correct library for the dependencies to be
correct. The qtAddLibrary() would add the project 'default' to the
glue, which could end up adding a debug lib to the glue, so the
dependency checker wouldn't find the proper project.

We therefore force qtAddLibrary to only add d/_debug if we're not
using debug_and_release, or not in the glue part

Reviewed-by: Rohan McGovern
mkspecs/features/qt_functions.prf