[Development] Qt 4.8 clang and libc++

Sylvain Pointeau sylvain.pointeau at gmail.com
Sun Sep 2 21:45:57 CEST 2012


On Sun, Sep 2, 2012 at 7:51 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> On domingo, 2 de setembro de 2012 19.25.45, Sylvain Pointeau wrote:
> > clang and libc++ are the only way to use c++11 on mac os x.
> > I think it is important to have it enable on mac os x users.
> > Do you plan to support it in qt5 release?
>
>  $ ls -1d mkspecs/macx-clang*
> mkspecs/macx-clang
> mkspecs/macx-clang-32
> mkspecs/macx-clang-libc++
> mkspecs/macx-clang-libc++-32
>
>
see the error:

cd corelib/ && ( test -f Makefile ||
/Users/sylvain/development/lib/qt5/qtbase/bin/qmake
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/corelib.pro -o
Makefile ) && make -f Makefile
clang++ -c -Xclang -include-pch -Xclang .pch/release-shared/QtCore/c++.pch
-pipe -mmacosx-version-min=10.6 -stdlib=libc++ -O2 -std=c++11
-fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC
-DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DPCRE_HAVE_CONFIG_H -DHB_EXPORT=Q_CORE_EXPORT
-DQT_NO_ICONV -DQT_NO_DEBUG_PLUGIN_CHECK -DQT_NO_DEBUG
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-clang-libc++
-I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.0.0
-I../../include/QtCore/5.0.0/QtCore -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
-I.moc/release-shared -o .obj/release-shared/qregexp.o tools/qregexp.cpp
In file included from tools/qregexp.cpp:1:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/global/qt_pch.h:66:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/qvariant.h:1:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/../../src/corelib/kernel/qvariant.h:50:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/qhash.h:1:
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/../../src/corelib/tools/qhash.h:107:35:
error: no matching function for call to 'qHash'
    Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120902/fb500d6a/attachment.html>


More information about the Development mailing list