Fix path to qt folder.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2019-04-12 21:29:20 +03:00
parent 99b457346c
commit 8a58ccdb3a

View File

@ -40,9 +40,6 @@ before_install:
brew update > /dev/null;
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/5eb54ced793999e3dd3bce7c64c34e7ffe65ddfd/Formula/qt.rb;
chmod -R 755 /usr/local/opt/qt/*;
export LDFLAGS="-L/usr/local/opt/qt/lib";
export CPPFLAGS="-I/usr/local/opt/qt/include";
export PKG_CONFIG_PATH="/usr/local/opt/qt/lib/pkgconfig";
fi
before_script:
- |
@ -50,11 +47,11 @@ before_script:
uname -a;
which qmake;
else
QTDIR="/usr/local/opt/qt5";
QTDIR="/usr/local/opt/qt";
PATH="$QTDIR/bin:$PATH";
LDFLAGS=-L$QTDIR/lib;
CPPFLAGS=-I$QTDIR/include;
PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig;
PKG_CONFIG_PATH=/usr/local/opt/qt/lib/pkgconfig;
fi
- mkdir build
- cd build