summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLing Hu <ling.hu@nokia.com>2011-07-27 10:22:19 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-26 07:20:46 +0200
commitc94742dd9d4b1f24f3e3a37b663c40de76e05081 (patch)
treeb694877b81dc399abbc16a4233a17c1f87bbbf1a
parentbe98375f90179be242a5d2fdcde043512f072462 (diff)
Fix the config.tests for WMF backend.
Windows SDK v7.0 is required to compile the WMF backend, so add additional check for MENonFatalError. Change-Id: I3edb86b8132b8022b30c02ea6289f617aadfc683 Reviewed-by: Michael Goddard (cherry picked from commit b738126352e5d914ea366b2725b72e2306b39ee2) Reviewed-on: http://codereview.qt-project.org/5493 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
-rw-r--r--config.tests/wmf/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/wmf/main.cpp b/config.tests/wmf/main.cpp
index de5085200..04bd97ce7 100644
--- a/config.tests/wmf/main.cpp
+++ b/config.tests/wmf/main.cpp
@@ -48,5 +48,9 @@
int main(int, char**)
{
+ HRESULT hr = MENonFatalError;
+ if (SUCCEEDED(hr)) {
+ return 1;
+ }
return 0;
}