diff options
author | Andrzej Telszewski | 2019-07-20 05:24:17 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2019-07-20 05:24:17 +0200 |
commit | 64ae05631b1c1dd6e1328bd4911abfa335d10ff8 (patch) | |
tree | 05d0671c13b57817c82c8f30f00c0a3434bf797a /development/qt-creator/qt-creator.SlackBuild | |
parent | b7cc8e540cebfea94d58287c6b58d93d1c863d91 (diff) | |
download | slackbuilds-64ae05631b1c1dd6e1328bd4911abfa335d10ff8.tar.gz |
development/qt-creator: Updated for version 4.9.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/qt-creator/qt-creator.SlackBuild')
-rw-r--r-- | development/qt-creator/qt-creator.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/development/qt-creator/qt-creator.SlackBuild b/development/qt-creator/qt-creator.SlackBuild index f7def375d8..e088f2281f 100644 --- a/development/qt-creator/qt-creator.SlackBuild +++ b/development/qt-creator/qt-creator.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Qt Creator # Copyright 2016 Andre Barboza, Belo Horizonte - Brazil -# Copyright 2018 Andrzej Telszewski, Szczecin +# Copyright 2019 Andrzej Telszewski, Szczecin # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +27,7 @@ # VERSION=4.2.0_rc1 or VERSION=4.2.0_beta1 (note the underscore). PRGNAM=qt-creator -VERSION=${VERSION:-4.6.2} +VERSION=${VERSION:-4.9.2} SRCVER=$(echo $VERSION | tr _ -) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -83,6 +83,7 @@ sed -i "s|share/doc/qtcreator|doc/$PRGNAM-$VERSION|g" src/plugins/coreplugin/ico # LLVM/Clang can be used to extend Qt Creator functionality. if [ "${USE_LLVM:-no}" = yes -o "${CODE_MODEL:-no}" = "yes" ]; then LLVM_INSTALL_ROOT=/usr/libexec/qtcreator/clang + QMAKE_LFLAGS=-L${LLVM_INSTALL_ROOT}/lib if [ ! -x $LLVM_INSTALL_ROOT/bin/clang ]; then echo "error: You must install \"qt-creator-llvm\" package in order to" @@ -91,8 +92,14 @@ if [ "${USE_LLVM:-no}" = yes -o "${CODE_MODEL:-no}" = "yes" ]; then fi fi -qmake-qt5 qtcreator.pro \ +patch -p0 < $CWD/remove-w-error-unguarded-availability-new.patch + +# Fix for https://lists.qt-project.org/pipermail/qt-creator/2019-May/008050.html +QMAKE_LFLAGS="$QMAKE_LFLAGS -L/usr/lib$LIBDIRSUFFIX" + +qmake-qt5 -r qtcreator.pro \ QMAKE_CXXFLAGS="$SLKCFLAGS" \ + QMAKE_LFLAGS="$QMAKE_LFLAGS" \ QTC_PREFIX=/usr \ IDE_LIBRARY_BASENAME=lib$LIBDIRSUFFIX \ LLVM_INSTALL_DIR=$LLVM_INSTALL_ROOT \ |