diff --git a/docs/win32_build_scripts/helper_src/qt.patch b/docs/win32_build_scripts/helper_src/qt.patch new file mode 100644 index 00000000..18dcba34 --- /dev/null +++ b/docs/win32_build_scripts/helper_src/qt.patch @@ -0,0 +1,13 @@ +*** qt_orig\src\gui\inputmethod\qwininputcontext_win.cpp 2008-09-27 12:00:56.000000000 +0200 +--- qt\src\gui\inputmethod\qwininputcontext_win.cpp 2009-02-16 21:34:02.403800000 +0100 +*************** +*** 77,82 **** +--- 77,84 ---- + + #define IFMETHOD HRESULT STDMETHODCALLTYPE + ++ extern bool qt_sendSpontaneousEvent(QObject *, QEvent *); ++ + interface IActiveIMMApp : public IUnknown + { + public: diff --git a/docs/win32_build_scripts/pokerth_download_libs.cmd b/docs/win32_build_scripts/pokerth_download_libs.cmd index 6707e254..9518fbbb 100644 --- a/docs/win32_build_scripts/pokerth_download_libs.cmd +++ b/docs/win32_build_scripts/pokerth_download_libs.cmd @@ -101,6 +101,12 @@ echo Unpacking Qt REM Wait 5 seconds for the file cache, else ren might fail. @ping 127.0.0.1 -n 5 -w 1000 > nul ren qt-win-opensource-src-4.4.3 qt +echo. +echo Patching Qt +cd qt +copy %PKTH_OldDir%\helper_src\qt.patch . +%PKTH_OldDir%\third_party_apps\pat_ch -p1 -i qt.patch +cd /d %PKTH_BaseDir% ) if not exist %PKTH_BaseDir%\qt goto qtFailure echo.