Webkit warnings under Mingw-w64 - Qt 4.8.5

  • 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
    -nomake examples
    -nomake demos

    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

    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

    ource\JavaScriptCore/wtf/StdLibExtras.h:120:5: note: in expansion of macro 'COMP
    COMPILE_ASSERT(divisor && !(divisor & (divisor - 1)), divisor_is_a_power_of

    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.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.