[Interest] update on building Qt/Linux with clang?
Jean-Michaël Celerier
jeanmichael.celerier at gmail.com
Thu Nov 29 18:33:45 CET 2018
../qt5/configure -release \
-opensource \
-confirm-license \
-nomake examples \
-nomake tests \
-no-compile-examples \
-no-qml-debug \
-qt-zlib \
-no-mtdev \
-no-journald \
-no-syslog \
-no-gif \
-qt-libpng \
-qt-libjpeg \
-qt-zlib \
-qt-freetype \
-qt-harfbuzz \
-qt-pcre \
-qt-xcb \
-qt-xkbcommon-x11 \
-glib \
-no-cups \
-no-iconv \
-no-tslib \
-no-icu \
-no-pch \
-ltcg \
-openssl-linked \
-dbus-linked \
-no-system-proxies \
-platform linux-clang-libc++
I also changed a few things in the buildscripts to link with lld instead of
gold:
sed -i 's/fuse-ld=gold/fuse-ld=lld/g' \
qtbase/mkspecs/common/gcc-base-unix.conf \
qtbase/mkspecs/features/qt_configure.prf \
qtbase/configure.json
(I'm not using arch's native clang, but the one I compiled myself though)
Best,
Jean-Michaël
On Thu, Nov 29, 2018 at 5:57 PM Sérgio Martins <sergio.martins at kdab.com>
wrote:
> On 2018-11-29 14:30, Jean-Michaël Celerier wrote:
> > I'm on clang 7.0.1-rc2 and a freshly-cloned qt 5.12.0 ; it does the
> > same on
> > centos 7 and archlinux.
> >
>
> It works for me on Archlinux.
> What's your configure line ?
>
> Regards,
> --
> Sérgio Martins | sergio.martins at kdab.com | Senior Software Engineer
> Klarälvdalens Datakonsult AB, a KDAB Group company
> Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
> KDAB - The Qt, C++ and OpenGL Experts
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181129/8755b938/attachment.html>
More information about the Interest
mailing list