summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2012-09-20 13:40:13 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 06:07:24 +0200
commitec44a917f642df5bcecb65f6133190b5ec604447 (patch)
tree4331e3494ed54f03c4425b5659bfbe982e4f0b32
parentfb46b00eef0de80f05cb21b719057bacf059dbbf (diff)
(WINCE)Add failure for font outline function
There is no outline function in Windows CE, so add a failure to inform the user that, he needs to switch the font rendering. Change-Id: Ieceb68bec49a88c7f7eee99f1c62cf1701da6aec Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r--src/plugins/platforms/windows/qplatformfunctions_wince.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qplatformfunctions_wince.h b/src/plugins/platforms/windows/qplatformfunctions_wince.h
index d08bbd8bba..0ad26f4b54 100644
--- a/src/plugins/platforms/windows/qplatformfunctions_wince.h
+++ b/src/plugins/platforms/windows/qplatformfunctions_wince.h
@@ -292,6 +292,8 @@ inline void OleUninitialize()
inline DWORD GetGlyphOutline( HDC /*hdc*/, UINT /*uChar*/, INT /*fuFormat*/, GLYPHMETRICS * /*lpgm*/,
DWORD /*cjBuffer*/, LPVOID /*pvBuffer*/, CONST MAT2 * /*lpmat2*/ )
{
+ qFatal("GetGlyphOutline not supported under Windows CE. Please try using freetype fontrendering, by"
+ "passing -platform windows:freetype as arguments to the application.");
return GDI_ERROR;
}