From f9ae046904c29f1ecfd77d6e881ae4bca0ab9223 Mon Sep 17 00:00:00 2001 From: manongjohn Date: May 07 2019 07:25:34 +0000 Subject: Update Travis QT Version to 5.12.3 (#2608) * Update Travis QT Version to 5.12.3 * Autodetect QT version for Travis macOS builds --- diff --git a/ci-scripts/osx/travis-build.sh b/ci-scripts/osx/travis-build.sh index 0e8d28f..d5277b9 100644 --- a/ci-scripts/osx/travis-build.sh +++ b/ci-scripts/osx/travis-build.sh @@ -3,8 +3,10 @@ pushd thirdparty/tiff-4.0.3 ./configure && make popd cd toonz && mkdir build && cd build +QTVERSION=`ls /usr/local/Cellar/qt` +echo "QT Version detected: $QTVERSION" cmake ../sources \ - -DQT_PATH=/usr/local/Cellar/qt/5.12.2/lib/ \ + -DQT_PATH=/usr/local/Cellar/qt/$QTVERSION/lib/ \ -DTIFF_INCLUDE_DIR=../../thirdparty/tiff-4.0.3/libtiff/ \ -DSUPERLU_INCLUDE_DIR=../../thirdparty/superlu/SuperLU_4.1/include/ make -j 2