Package Details: mingw-w64-qt4 4.8.7-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-qt4.git (read-only)
Package Base: mingw-w64-qt4
Description: A cross-platform application and UI framework (mingw-w64)
Upstream URL: http://qt-project.org/
Licenses: GPL3, LGPL
Conflicts: mingw-w64-qt
Replaces: mingw-w64-qt<=4.8.5
Submitter: ant32
Maintainer: xantares
Last Packager: xantares
Votes: 11
Popularity: 0.141976
First Submitted: 2013-07-15 18:19
Last Updated: 2016-06-03 21:53

Sources (14)

  • http://download.qt-project.org/official_releases/qt/4.8/4.8.7/qt-everywhere-opensource-src-4.8.7.tar.gz
  • mingw32-qt-4.8.0-no-webkit-tests.patch
  • qmake.conf.win32
  • qmake.conf.win64
  • qplatformdefs.h
  • qt-4.8.0-build-qtuitools-dynamically.patch
  • qt-4.8.0-fix-include-windows-h.patch
  • qt-4.8.1-fix-activeqt-compilation.patch
  • qt-dont-perform-ipc-checks-for-win32.patch
  • qt-dont-set-qt-dll-define-for-static-builds.patch
  • qt-everywhere-opensource-src-4.8.7-gcc6.patch
  • qt-fix-javascript-jit-on-mingw-x86_64.patch
  • qt-merge-static-and-shared-library-trees.patch
  • qt4-fix-linking-against-static-dbus.patch

Latest Comments

yan12125 commented on 2016-06-06 05:43

More patches for GCC 6 while still not working:

--- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/TypeTraits.h 2016-06-02 17:40:12.669784256 +0800
+++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/TypeTraits.h 2016-06-02 17:40:36.943118400 +0800
@@ -25,7 +25,7 @@
#include "Platform.h"

#if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600))
-#include <type_traits>
+#include <tr1/type_traits>
#endif

namespace WTF {
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h 2016-06-02 17:40:12.669784256 +0800
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h 2016-06-02 17:40:36.943118400 +0800
@@ -25,7 +25,7 @@
#include "Platform.h"

#if (defined(__GLIBCXX__) && (__GLIBCXX__ >= 20070724) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && (_MSC_VER >= 1600))
-#include <type_traits>
+#include <tr1/type_traits>
#endif

namespace WTF {
--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h.orig 2016-06-02 18:56:14.939936729 +0800
+++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/wtf/HashTable.h 2016-06-02 18:55:23.803268354 +0800
@@ -257,7 +257,7 @@

using std::swap;

-#if !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION)
+#if !COMPILER(MSVC) && !OS(QNX) && !defined(_LIBCPP_VERSION) && __GLIBCXX__ < 20160501
// The Dinkumware C++ library (used by MSVC and QNX) and clang's libc++ have a swap for pairs defined.

// swap pairs by component, in case of pair members that specialize swap
--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h.orig 2016-06-06 12:35:49.953088000 +0800
+++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h 2016-06-06 12:35:52.319754637 +0800
@@ -317,7 +317,7 @@
TransitionTable* transitionTable = new TransitionTable;
setTransitionTable(transitionTable);
if (existingTransition)
- add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
+ add(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(existingTransition->m_nameInPrevious.get()), +existingTransition->m_attributesInPrevious), existingTransition, existingTransition->m_specificValueInPrevious);
}
} // namespace JSC

--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp.orig 2016-06-06 12:48:42.966411686 +0800
+++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.cpp 2016-06-06 12:48:59.546411478 +0800
@@ -157,7 +157,7 @@
{
if (m_previous) {
if (m_nameInPrevious)
- m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), m_attributesInPrevious), m_specificValueInPrevious);
+ m_previous->table.remove(StructureTransitionTableHash::Key(RefPtr<UString::Rep>(m_nameInPrevious.get()), +m_attributesInPrevious), m_specificValueInPrevious);
else
m_previous->table.removeAnonymousSlotTransition(m_anonymousSlotsInPrevious);

--- qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexCompiler.cpp.orig 2016-06-06 12:57:14.966405295 +0800
+++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/javascriptcore/JavaScriptCore/yarr/RegexCompiler.cpp 2016-06-06 12:57:33.116405069 +0800
@@ -719,7 +719,7 @@

constructor.setupOffsets();

- return false;
+ return NULL;
};


yan12125 commented on 2016-05-30 06:27

Failed against mingw-w64-gcc 6.1.1:

In file included from /home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloringmessagehandler_p.h:57:0,
from /home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qxmlquery_p.h:67,
from /home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qvariableloader.cpp:54:
/home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h:74:60: warning: result of ‘(1048575 << 20)’ requires 41 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h:74:60: error: shift expression ‘(1048575 << 20)’ overflows [-fpermissive]
/home/yen/tmp/yaourt-tmp-yen/aur-mingw-w64-qt4/src/qt-everywhere-opensource-src-4.8.7/src/xmlpatterns/api/qcoloroutput_p.h:74:63: error: enumerator value for ‘BackgroundMask’ is not an integer constant
BackgroundMask = ((1 << BackgroundShift) - 1) << BackgroundShift
^~~~~~~~~~~~~~~
Makefile.Release:2672: recipe for target '.obj/release-shared/qvariableloader.o' failed

yan12125 commented on 2016-05-30 05:38

Another solution to crowded /tmp: use $TMPDIR (works on yaourt, not tested on other AUR helpers)

mkdir ~/tmp
TMPDIR=$HOME/tmp yaourt -S mingw-w64-qt4

lxndr commented on 2015-10-12 17:30

A piece of advise. This beast takes quite some time and space to compile, so make sure you have enough free space wherever you building it.
I use yaourt and it does all the work in /tmp. I had to extend the tmpfs to 15GB:
sudo mount -o remount,size=15G /tmp

xantares commented on 2015-06-02 14:00

ok, i found why webkit gets disabled

skuda commented on 2015-06-02 13:45

@xantares, thank you ;-)

skuda commented on 2015-06-02 13:44

@xantares, thank you xantares ;-)

xantares commented on 2015-06-02 13:43

@skuda, congrats for your new life!

@GuLinux, yes, it's weird, webkit get disabled although the -webkit option is passed

skuda commented on 2015-06-02 09:45

Hi,
Done! Thank you.

If you want to maintain the other ones please tell me.

xantares commented on 2015-06-02 09:41

hi,
can you disown this one ?

All comments