Skip to content

Commit

Permalink
Change path for QTIFW installation
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR committed Oct 24, 2024
1 parent f8fd959 commit 35dfa01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion buildScripts/github/build_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ case $RUNNER_OS in
TSNAME="trik-studio-installer-mac-$BRANCH_NAME.dmg"
;;
Linux)
QTIFWBIN=$(find /Qt/Tools -name "bin" | head -n 1)
QTIFWBIN=$(find $PWD/Qt/Tools -name "bin" | head -n 1)
ID=$(grep '^ID=' /etc/os-release | cut -d'=' -f2)
TSNAME="trik-studio-installer-linux-$BRANCH_NAME-$ID.run"
;;
Expand Down
6 changes: 3 additions & 3 deletions buildScripts/github/install_Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ elif [[ "$ID" = "rocky" || "$ID" = '"rocky"' ]]; then
# yum install -y qt5-qtscript-devel qt5-qttools-devel qt5-qtmultimedia-devel qt5-qtserialport-devel qt5-qtsvg-devel qt5-qtbase-devel
"$TRIK_PYTHON" -m pip install -U pip
"$TRIK_PYTHON" -m pip install aqtinstall
aqt install-qt linux desktop "$TRIK_QT_VERSION" -O /Qt -m qtscript --archives qtbase qtmultimedia qtsvg qtscript qttools qtserialport qtimageformats icu qtwayland
QT_ROOT_DIR=$(ls -1d /Qt/"$TRIK_QT_VERSION"*/gcc_64 | head -n 1)
aqt install-qt linux desktop "$TRIK_QT_VERSION" -O $PWD/Qt -m qtscript --archives qtbase qtmultimedia qtsvg qtscript qttools qtserialport qtimageformats icu qtwayland
QT_ROOT_DIR=$(ls -1d $PWD/Qt/"$TRIK_QT_VERSION"*/gcc_64 | head -n 1)

echo "$QT_ROOT_DIR/bin" >> $GITHUB_PATH
echo "source scl_source enable gcc-toolset-$GCC_VERSION" >> ~/.bash_profile
Expand All @@ -34,5 +34,5 @@ fi
if [ "$BUILD_INSTALLER" = "true" ]; then
"$TRIK_PYTHON" -m pip install -U pip
"$TRIK_PYTHON" -m pip install aqtinstall
sudo "$TRIK_PYTHON" -m aqt install-tool -O /Qt linux desktop tools_ifw
"$TRIK_PYTHON" -m aqt install-tool -O $PWD/Qt linux desktop tools_ifw
fi

0 comments on commit 35dfa01

Please sign in to comment.