[Development] Qt 4.8 clang and libc++

Sylvain Pointeau sylvain.pointeau at gmail.com
Sat Aug 25 12:54:27 CEST 2012


I finally succeed to (git) clone the qt5 repository.
and I met an issue, raised as a separate email.

I continued with Qt 4.8(.3) and I added those 2 lines in the
unsupported/macx-clang/qmake.conf
QMAKE_CXXFLAGS += -stdlib=libc++
QMAKE_LFLAGS   += -stdlib=libc++

./configure -no-qt3support -platform unsupported/macx-clang -no-declarative
-no-webkit -no-script -release

but webkit is still compiling and it makes an error:

clang++ -c -stdlib=libc++ -pipe -Xarch_x86_64 -mmacosx-version-min=10.5 -O2
-arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DNDEBUG
-DBUILDING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS
-DBUILDING_JavaScriptCore -DBUILDING_WTF -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
-DQT_HAVE_AVX -DQT_SHARED -I../../../../../mkspecs/unsupported/macx-clang
-I. -I../../../../../lib/QtCore.framework/Versions/4/Headers
-I../../../../../include/QtCore -I../../../../../include -I. -I../../Source
-I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg
-Idebugger -Iinterpreter -Ijit -Iparser -Iprofiler -Iruntime -Iwtf
-Iwtf/gobject
-I/Users/sylvain/development/lib/qt-4.8/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian
-Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source
-I../../include -I/include/QtWebKit -I/include -I.moc/release-static
-F/Users/sylvain/development/lib/qt-4.8/lib -o
.obj/release-static/YarrInterpreter.o yarr/YarrInterpreter.cpp
In file included from yarr/YarrInterpreter.cpp:28:
In file included from yarr/YarrInterpreter.h:29:
In file included from yarr/YarrPattern.h:30:
In file included from ./runtime/UString.h:26:
In file included from ./wtf/text/StringImpl.h:28:
In file included from ./wtf/CrossThreadRefCounted.h:35:
In file included from wtf/PassRefPtr.h:25:
wtf/NullPtr.h:48:23: error: functions that differ only in their return type
cannot be overloaded
extern std::nullptr_t nullptr;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120825/54f6ad47/attachment.html>


More information about the Development mailing list