Skip to content

Commit

Permalink
travis-ci update to qt6 for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
limpkin committed Jun 5, 2022
1 parent 6d4dce7 commit 39f4157
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/ci/osx/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "$(git rev-list -n 1 $VERSION)" != "$(git rev-parse HEAD)" ]; then
exit 0
fi

QTDIR="/usr/local/opt/qt5"
QTDIR="/usr/local/opt/qt6"
APP=Moolticute
# this directory name will also be shown in the title when the DMG is mounted
TEMPDIR=build/$APP
Expand Down Expand Up @@ -53,8 +53,8 @@ fi

#Call fix to change all rpath
wget_retry https://raw.githubusercontent.com/mooltipass/macdeployqtfix/master/macdeployqtfix.py
python macdeployqtfix.py build/$APP.app/Contents/MacOS/moolticute /usr/local/Cellar/qt5/5.*/
python macdeployqtfix.py build/$APP.app/Contents/MacOS/moolticuted /usr/local/Cellar/qt5/5.*/
python macdeployqtfix.py build/$APP.app/Contents/MacOS/moolticute /usr/local/Cellar/qt6/6.*/
python macdeployqtfix.py build/$APP.app/Contents/MacOS/moolticuted /usr/local/Cellar/qt6/6.*/

#setup keychain
KEYCHAIN="travis.keychain"
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/osx/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ echo "install.sh"

brew update > /dev/null
brew upgrade wget
brew install qt5 jq lftp
brew install qt6 jq lftp
networksetup -setv6off Ethernet
2 changes: 1 addition & 1 deletion scripts/ci/osx/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source $SCRIPTDIR/../funcs.sh
mkdir build
pushd build

QTDIR="/usr/local/opt/qt5"
QTDIR="/usr/local/opt/qt6"
PATH="$QTDIR/bin:$PATH"
LDFLAGS=-L$QTDIR/lib
CPPFLAGS=-I$QTDIR/include
Expand Down

0 comments on commit 39f4157

Please sign in to comment.