On 4/05/2010 2:04 AM, Ruben Van Boxem wrote:
Just to express my happiness. The WebKit part has been merged, so every part of Qt works now.

To compile Qt 4.7 (development version!):
Get sources from eg qt.gitorious.org/qt/qt/4.7 <http://qt.gitorious.org/qt/qt/4.7> Get mingw-w64 from here: mingw-w64.sourceforge.net <http://mingw-w64.sourceforge.net> Make sure the <mingw64>\bin folder has a copy of gmake named "mingw32-make" in the Qt dir: configure -qt-style-windowsxp -qt-style-windowsvista -phonon
gmake

In file included from lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/winnt.h:1412:0, from lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/windef.h:131, from lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/windows.h:62, from ..\..\include\QtCore/../../src/corelib/global/qt_windows.h:63,
                 from ..\..\include\QtCore/qt_windows.h:1,
                 from tools\qstring.cpp:3834:
lib/gcc/x86_64-w64-mingw32/4.5.1/include/emmintrin.h:234:1: error: previous declaration of '__vector(2) double _mm_add_sd(__vector(2) double, __vector(2) double)' with 'C++' linkage lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/intrin.h:644:5: error: conflicts with new declaration with 'C' linkage lib/gcc/x86_64-w64-mingw32/4.5.1/include/emmintrin.h:228:1: error: previous declaration of '__vector(2) double _mm_add_pd(__vector(2) double, __vector(2) double)' with 'C++' linkage lib/gcc/x86_64-w64-mingw32/4.5.1/../../../../x86_64-w64-mingw32/include/intrin.h:645:5: error: conflicts with new declaration with 'C' linkage

I attempted to build it qt-everywhere-opensource-src-4.7.0-tp.tar.gz but failed. This error looks weird and the Qt developer said the bug comes from the gcc toolchain, I'm using the same gcc to build qt-everywhere-opensource-src-4.6.2.tar.gz successfully.
Is my error still related to the gcc toolchain?
The options that still need to be provided are optional, but rely on the presence of two headers (uxtheme.h and dshow.h), or rather the ability of Qt's configure.exe to find them...Which it doesn't. It has already been attempted to be fixed, I'll need to reopen the bug report then...

Ruben



------------------------------------------------------------------------------

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to