From 138553bb306ba46cf6863a84999e8fd00e13c865 Mon Sep 17 00:00:00 2001 From: Craig Watson Date: Thu, 14 Jan 2016 11:55:00 +0100 Subject: [PATCH] Added system OSK support for Windows --- src/frameworks/UBPlatformUtils_win.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frameworks/UBPlatformUtils_win.cpp b/src/frameworks/UBPlatformUtils_win.cpp index 07dfc348..eac3ae45 100644 --- a/src/frameworks/UBPlatformUtils_win.cpp +++ b/src/frameworks/UBPlatformUtils_win.cpp @@ -440,5 +440,10 @@ void UBPlatformUtils::showFullScreen(QWidget *pWidget) void UBPlatformUtils::showOSK(bool show) { Q_UNUSED(show); - // No system OSK support yet + + QString windir = qgetenv("WINDIR"); + QString osk_path = windir+"\\System32\\osk.exe"; + + QProcess newProcess; + newProcess.startDetached("explorer.exe", QStringList() << osk_path); }