diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-01-06 11:36:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-11 04:05:21 +0100 |
commit | 3b9f1ebccd61bf99446c60cee0ebf96b87aa2077 (patch) | |
tree | cdf23169a5f371830fd8969b9aa999bbc5d61ab9 /tests | |
parent | d73bb67a9aff3781f6a4323358b7cf1de44faebe (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/auto.pri | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/auto.pri b/tests/auto/auto.pri index 9c526c2..efc2895 100644 --- a/tests/auto/auto.pri +++ b/tests/auto/auto.pri @@ -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) |