On Tue, Mar 29, 2016 at 1:05 AM, Andreas Holzammer < [email protected]> wrote:
> Hey, > > this got fixed in the 5.6 branch and did not get forward merged yet. > https://codereview.qt-project.org/#/c/153305/ > Please use that patch and the c++11 error should go away. > > Thank you > > Andy > > Am 29.03.2016 um 03:57 schrieb Thiago Macieira: > > On segunda-feira, 28 de março de 2016 21:33:11 PDT Partha Bagchi wrote: > >> EXTRA_CXXFLAGS = -std=c++11 -DUNICODE -ffunction-sections > > > > It's there, but it's not in your command-line, which had: > > > > g++ -c -o project.o -DUNICODE -g -IZ:/src/qt5/qtbase/qmake > > > > It's missing two options. I don't know how or why. From what I can see > in the > > Makefile, it should be impossible. > > > > OK, I think I applied the patch properly. Here is what I did: git fetch https://codereview.qt-project.org/qt/qtbase refs/changes/05/153305/4 && git format-patch -1 --stdout FETCH_HEAD One question, do I run mingw32-make from the cmd subshell or should I try to run make from the regular shell? I configured within the cmd subshell with the following command: configure -prefix Z:/opts/opt64-kde -opensource -confirm-license -optimized-tools -shared -nomake tests -nomake examples -release -opengl desktop -openssl -glib -qt-style-windows -I Z:\opts\opt64-kde\include -I Z:\opts\opt64-kde\include/freetype2 -I Z:\opts\opt64-kde\include/glib-2.0 -L Z:\opts\opt64-kde\lib -l glib-2.0 -l intl -l fontconfig -l freetype -l harfbuzz -fontconfig -system-zlib -system-libpng -system-harfbuzz -system-freetype -system-libjpeg -icu -largefile -wmf-backend Another question. After you run configure from the subshell, you get the following message: Qt is now configured for building. Just run mingw32-make. To reconfigure, run mingw32-make confclean and configure. However, mingw32-make confclean gives an error: Z:\src\kde\qt5>mingw32-make confclean mingw32-make: *** No rule to make target 'confclean'. Stop. Perhaps it's time to change this message? :) Thanks, Partha > -- > Andreas Holzammer | [email protected] | Senior Software Engineer > KDAB (Deutschland) GmbH&Co KG, a KDAB Group company > Tel: +49-30-521325470 > KDAB - The Qt Experts > > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development > >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
