Fixed compile on Windows in release mode.

It is not valid to unconditionally enable debug mode on platforms where
debug/release affects linkage.  On these platforms, debug mode can only
be used if the debug libraries are enabled, and release mode can only be
used if the release libraries are enabled.

Let the build system set the correct mode.

Change-Id: I1a4869a47b158049de2e8c71a62c3df059a70281
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
Reviewed-by: Jaakko Korpela <jaakko.korpela@nokia.com>
This commit is contained in:
Rohan McGovern 2012-01-06 11:36:54 +10:00 committed by Qt by Nokia
parent d73bb67a9a
commit 3b9f1ebccd
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
TEMPLATE = app
CONFIG += qt debug warn_on console depend_includepath testcase
CONFIG += qt warn_on console depend_includepath testcase
qtAddLibrary(QtTest)