Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Webkit warnings under Mingw-w64 - Qt 4.8.5

$
0
0
Hi there, I am trying to build Qt 4.8.5 from source for windows 7 using Mingw-w64 32-bit toolchain. I am following the instructions from http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW#b0ae4deae5433c64f5fbf472482433d3 but I am finding several problems I am using the following parameters to configure.exe: -platform win32-g++ -opensource -shared -debug-and-release -nomake examples -nomake demos -no-qt3support -plugin-sql-sqlite -plugin-sql-odbc -stl -no-phonon -no-phonon-backend -no-style-motif -no-style-cde -no-style-cleanlooks -no-style-plastique -no-dbus -qt-libpng -qt-zlib -qt-libmng -qt-libtiff -qt-libjpeg -no-openssl I am not using jom, but mingw32-make from the mingw-w64 distribution, since as far as I could find out, jom is a replacement for MS nmake, and I want to use a full mingw toolchain. I got the sources for version 4.8.5 in qt-everywhere-opensource-src-4.8.5.zip I have unpacked the sources to D:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5 I created a batch file as @ECHO OFF REM This Batch file is used to build Qt from sources REM set the Path variables SET PATH=C:\Dev\MinGW\MinGW-W64-32\mingw32\bin SET PATH=%PATH%;C:\Dev\Tools\Perl\bin SET PATH=%PATH%;C:\Dev\Qt\Tools\jom SET PATH=%PATH%;C:\Dev\Tools\fart SET PATH=%PATH%;c:\Windows\system32 SET Path2Source=D:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5 SET Path2Build=D:\Software\DevTools\Qt\Qt4.8.5-qt-x86-build SET LANG=en CD Path2Build REM Execute the configuration Path2Source\configure.exe -redo >>configure.log REM Compile and link (using mingw32-make) C:\Dev\MinGW\MinGW-W64-32\mingw32\bin\mingw32-make >> makelog.log The configure reports all OK, but when running mingw32-make I get a lot of errors (too many to post) like d:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5\src\3rdparty\webkit\Source\JavaScriptCore/wtf/StdLibExtras.h: In function ‘TO WTF::bitwise_cast(FROM)’: d:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5\src\3rdparty\webkit\Source\JavaScriptCore/wtf/Assertions.h:326:47: warning: typedef ‘dummyWTF_bitwise_cast_sizeof_casted_types_is_equal’ locally defined but not used [-Wunused-local-typedefs] #define COMPILE_ASSERT(exp, name) typedef int dummy##name [(exp) ? 1 : -1] ^ also many similar to d:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5\src\3rdparty\webkit\S ource\JavaScriptCore/wtf/StdLibExtras.h:120:5: note: in expansion of macro ‘COMP ILE_ASSERT’ COMPILE_ASSERT(divisor && !(divisor & (divisor – 1)), divisor_is_a_power_of _two); d:\Software\DevTools\Qt\qt-everywhere-opensource-src-4.8.5\src\3rdparty\webkit\Source\JavaScriptCore/wtf/NullPtr.h:48:1: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] extern std::nullptr_t nullptr; I have been looking for an explanation for over a week, but I cannot understand what is going on. Any help would be appreciated.

Viewing all articles
Browse latest Browse all 2113

Trending Articles