Qt 5 and C++11

2015-10-17 Thread Caspar Schutijser
Hi ports@, I ran into the following issue regarding Qt 5 and C++11. /usr/local/lib/qt5/mkspecs/openbsd-g++/qmake.conf from the qt-5 port contains the following lines: 22 QMAKE_CXX = g++ ... 24 QMAKE_CXXFLAGS_CXX11= -std=c++11 So when we try to compile C++11 code

Re: Qt 5 and C++11

2015-10-17 Thread Stuart Henderson
On 2015/10/17 11:57, Caspar Schutijser wrote: > Hi ports@, > > I ran into the following issue regarding Qt 5 and C++11. > > /usr/local/lib/qt5/mkspecs/openbsd-g++/qmake.conf from the qt-5 port > contains the following lines: > 22 QMAKE_CXX

Re: Qt 5 and C++11

2015-10-17 Thread Vadim Zhukov
17 окт. 2015 г. 13:07 пользователь "Caspar Schutijser" написал: > > Hi ports@, > > I ran into the following issue regarding Qt 5 and C++11. > > /usr/local/lib/qt5/mkspecs/openbsd-g++/qmake.conf from the qt-5 port > contains the following lin

Re: Qt 5 and C++11

2015-10-17 Thread Vadim Zhukov
2015-10-18 1:55 GMT+03:00 Vadim Zhukov : > 17 окт. 2015 г. 13:07 пользователь "Caspar Schutijser" > написал: >> >> Hi ports@, >> >> I ran into the following issue regarding Qt 5 and C++11. >> >> /usr/local/lib/q

Re: Qt 5 and C++11

2015-10-18 Thread Caspar Schutijser
On Sat, Oct 17, 2015 at 09:45:22PM +0100, Stuart Henderson wrote: > This is mostly setup for doing builds as part of ports. And in > that case, if you're writing a port which uses Qt5, you would set > MODULES=x11/qt5 which automatically inserts a link or wrapper for the > correct compiler at the he

Re: Qt 5 and C++11

2015-10-18 Thread Caspar Schutijser
On Sun, Oct 18, 2015 at 01:59:23AM +0300, Vadim Zhukov wrote: > Index: Makefile > === > RCS file: /cvs/ports/x11/qt5/Makefile,v > retrieving revision 1.42 > diff -u -p -r1.42 Makefile > --- Makefile 4 Sep 2015 22:08:25 - 1.4

Re: Qt 5 and C++11

2015-10-20 Thread Juan Francisco Cantero Hurtado
On Sun, Oct 18, 2015 at 09:46:39AM +0200, Caspar Schutijser wrote: > On Sat, Oct 17, 2015 at 09:45:22PM +0100, Stuart Henderson wrote: > > This is mostly setup for doing builds as part of ports. And in > > that case, if you're writing a port which uses Qt5, you would set > > MODULES=x11/qt5 which a