[Development] Qt 4.8 clang and libc++

Sylvain Pointeau sylvain.pointeau at gmail.com
Mon Sep 3 20:11:20 CEST 2012


for Qt 5, I de-activated the Q_DECL_NOEXCEPT_EXPR from
qt-5.0/qtbase/src/corelib/global/qcompilerdetection.h

and now webkit is giving an error

In file included from
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WebCore/platform/Timer.cpp:27:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WebCore/config.h:30:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WTF/wtf/Platform.h:1165:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtbase/include/QtCore/qglobal.h:1:
In file included from
/Users/sylvain/development/lib/qt-5.0/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:77:
/usr/bin/../lib/c++/v1/algorithm:4461:28: error: no matching function for
call
      to 'move'
            value_type __t(_VSTD::move(*__pp));


also something weird:
/Users/sylvain/development/lib/qt-5.0/qtwebkit/Source/WTF/wtf/text/AtomicString.h:76:82:
warning:
      rvalue references are a C++11 extension [-Wc++11-extensions]
  ...{ m_string = static_cast<String&&>(other.m_string); return *this; }

does qtwebkit recognize that c++11 is activated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120903/dc65fea5/attachment.html>


More information about the Development mailing list