From c94742dd9d4b1f24f3e3a37b663c40de76e05081 Mon Sep 17 00:00:00 2001 From: Ling Hu Date: Wed, 27 Jul 2011 10:22:19 +1000 Subject: 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 Reviewed-by: Michael Goddard --- config.tests/wmf/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.2.3