Fix path to qt folder.
--HG-- branch : release
This commit is contained in:
parent
99b457346c
commit
8a58ccdb3a
|
@ -40,9 +40,6 @@ before_install:
|
||||||
brew update > /dev/null;
|
brew update > /dev/null;
|
||||||
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/5eb54ced793999e3dd3bce7c64c34e7ffe65ddfd/Formula/qt.rb;
|
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/5eb54ced793999e3dd3bce7c64c34e7ffe65ddfd/Formula/qt.rb;
|
||||||
chmod -R 755 /usr/local/opt/qt/*;
|
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
|
fi
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
|
@ -50,11 +47,11 @@ before_script:
|
||||||
uname -a;
|
uname -a;
|
||||||
which qmake;
|
which qmake;
|
||||||
else
|
else
|
||||||
QTDIR="/usr/local/opt/qt5";
|
QTDIR="/usr/local/opt/qt";
|
||||||
PATH="$QTDIR/bin:$PATH";
|
PATH="$QTDIR/bin:$PATH";
|
||||||
LDFLAGS=-L$QTDIR/lib;
|
LDFLAGS=-L$QTDIR/lib;
|
||||||
CPPFLAGS=-I$QTDIR/include;
|
CPPFLAGS=-I$QTDIR/include;
|
||||||
PKG_CONFIG_PATH=/usr/local/opt/qt5/lib/pkgconfig;
|
PKG_CONFIG_PATH=/usr/local/opt/qt/lib/pkgconfig;
|
||||||
fi
|
fi
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user