[Development] Compiling QT 5.7 Windows 64-bit

Partha Bagchi partha1b at gmail.com
Tue Mar 29 03:33:11 CEST 2016


On Mon, Mar 28, 2016 at 9:25 PM, Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On segunda-feira, 28 de março de 2016 18:30:22 PDT Partha Bagchi wrote:
> > > Looks like it's not compiling as C++11.
> >
> > Adding c++11 does not make any difference.
>
> configure should have got the flag from the mkspec. Can you check if qmake/
> Makefile has a line with QMAKE_CXXFLAGS_CXX11? It probably exists and is
> empty
> for you. That means configure failed to parse your mkspec somehow.
>
> Well, qtbase/qmake/Makefile does not contain QMAKE_CXXFLAGS_CXX11, but it
does have
QMAKESPEC = $(SOURCE_PATH)\mkspecs\win32-g++
EXTRA_CFLAGS = -DUNICODE -ffunction-sections
EXTRA_CXXFLAGS = -std=c++11 -DUNICODE -ffunction-sections
EXTRA_LFLAGS = -Wl,--gc-sections


> Happy debugging the getQMakeConf shell function.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160328/1e829a57/attachment.html>


More information about the Development mailing list