From 5ae32a107380296d1fb7f46b310307f47b5749d6 Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 16 Feb 2009 23:47:08 +0000 Subject: [PATCH] Adding Qt patch for mingw gcc 4.3.3. --- docs/win32_build_scripts/helper_src/qt.patch | 13 +++++++++++++ docs/win32_build_scripts/pokerth_download_libs.cmd | 6 ++++++ 2 files changed, 19 insertions(+) create mode 100644 docs/win32_build_scripts/helper_src/qt.patch 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.