MARTIN Pierre schreef op vr 11-05-2012 om 20:42 [+0200]:
> All right, but apart from creating your custom mkspec, did you need any 
> particular patching of the Qt source?

In Fedora we applied various patches to Qt to fix some issues which
aren't resolved upstream yet or are Fedora specific. It should be
possible to get Qt built without applying any patches.

Currently we're applying these patches:

qt-merge-static-and-shared-library-trees.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-merge-static-and-shared-library-trees.patch;hb=HEAD
----------------------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
As we in Fedora are providing multiple copies of Qt (release/static,
debug/shared and release/shared) some manual fiddling is needed to make
all situations work. This patch is only of interest for package
maintainers as most people only need one copy of Qt installed


mingw32-qt-4.8.0-no-webkit-tests.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=mingw32-qt-4.8.0-no-webkit-tests.patch;hb=HEAD
--------------------------------------
Author: Kalev Lember (Fedora MinGW)
When building Qt out-of-source an error occurs while trying to build the
QtWebKit tests. This patch makes sure that these tests won't be built at
all as these tests aren't supposed to be distributed in binary packages
so it doesn't matter whether these tests are built or not


qt-dbus-dont-link-to-dbus-1d.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-dbus-dont-link-to-dbus-1d.patch;hb=HEAD
----------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
Fedora specific, the mingw-dbus package in Fedora doesn't provide a
libdbus-1d.dll.a import library. This patch makes the Qt debug copy link
against the libdbus-1.dll.a import library.


qt-dont-perform-ipc-checks-for-win32.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-dont-perform-ipc-checks-for-win32.patch;hb=HEAD
------------------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
The configure script thinks there is no IPC/shared memory support for
the win32/win64 targets available when cross-compiling. In reality
support for IPC/shared memory is available on win32/win64, so this patch
makes the configure script more clever. This patch is needed to get
kdelibs built


qt-everywhere-opensource-src-4.8.0-gcc-4.7.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-everywhere-opensource-src-4.8.0-gcc-4.7.patch;hb=HEAD
------------------------------------------------
Author: Unknown, patch is taken from the native Fedora qt package
This patch is needed to fix a compile failure in the QtWebKit component
when gcc 4.7 is installed


qt-4.7.3-fix-loading-openssl.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-4.7.3-fix-loading-openssl.patch;hb=HEAD
----------------------------------
Author: Dominik Schmidt (openSuSE MinGW)
Depending on how OpenSSL is built, Qt may fail to detect the OpenSSL
libraries. This patch makes Qt also look for the OpenSSL libraries with
different names (the phrase 'OPENSSL_SONAME' in this patch needs to be
replaced with the version of the OpenSSL library which needs to be used)


qt-4.8.0-fix-include-windows-h.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-4.8.0-fix-include-windows-h.patch;hb=HEAD
------------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
On Linux environments file names are case-sensitive. This patch changes
an #include <Windows.h> to #include <windows.h>. This patch is only
needed when using a Linux environment and when the ./configure argument
"-make libs" is given


qt-4.8.0-build-qtuitools-dynamically.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-4.8.0-build-qtuitools-dynamically.patch;hb=HEAD
------------------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
This one is also needed for kdelibs. It makes sure that the QtUiTools
library will be built automatically as a shared library


qt-fix-javascript-jit-on-mingw-x86_64.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-fix-javascript-jit-on-mingw-x86_64.patch;hb=HEAD
-------------------------------------------
Author: Erik van Pienbroek (Fedora MinGW)
Fixes a compile failure when building for the win64 target and when
the ./configure argument "-javascript-jit" is given


qt-4.8.1-fix-activeqt-compilation.patch
http://pkgs.fedoraproject.org/gitweb/?p=mingw-qt.git;a=blob_plain;f=qt-4.8.1-fix-activeqt-compilation.patch;hb=HEAD
---------------------------------------
Author: Dominik Schmidt (openSuSE MinGW)
In Qt 4.8.1 support for ActiveQt got enabled automatically, however this
introduced a compile failure. This patch works around this compile
failure


Feel free to use any patches which might be of interest to you

Kind regards,

Erik van Pienbroek


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to