Le 02/02/2016 21:41, Stephan Witt a écrit :
Yes, this doesn’t work. Sorry, I forgot I’m always call the script for 2.2.x
with -—disable-cxx11 - so it’s not surprising I don’t have problems with ObjC.

If I omit this switch it refuses to compile source files with Qt-headers.

In file included from 
/Users/stephan/git/lyx/src/support/ConsoleApplication.cpp:15:
In file included from 
/Users/stephan/git/lyx/src/support/../support/ConsoleApplicationPrivate.h:16:
In file included from 
/Users/Shared/LyX/qt-5.5.1-frameworks-cocoa-x86_64//include/QtCore/QCoreApplication:1:
In file included from 
/Users/Shared/LyX/qt-5.5.1-frameworks-cocoa-x86_64//include/QtCore/qcoreapplication.h:38:
/Users/Shared/LyX/qt-5.5.1-frameworks-cocoa-x86_64//include/QtCore/qstring.h:739:55:
 error: no type named 'u16string' in namespace 'std'
     static inline QString fromStdU16String(const std::u16string &s);

What happens if you include <string> before <QCoreApplication> in ConsoleApplicationPrivate.h?

It seems that our strwfd.h does not define std::u16string. But I am not sure that we have to. Does Qt5.6 suffer from this too?

I'll have a look at the std=c++11 issue too.

JMarc

Reply via email to