You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
524 B
32 lines
524 B
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
# 接收参数
|
|
TARGET=$1
|
|
CONFIGOPTS=$2
|
|
|
|
|
|
|
|
|
|
echo -e "\n正在编译和安装 Qt应用程序开发框架……\n"
|
|
|
|
if [[ ! -d "LuxMark" ]] ; then
|
|
echo
|
|
echo -e "\nLuxMark src不可用,跳过编译安装 Qt 阶段\n"
|
|
else
|
|
|
|
${SHELLROOT}/utils/begin_stage Qt qt-*.tar.gz
|
|
cp -v ${SHELLROOT}/installLib/qt-install.sh .
|
|
|
|
sleep 2
|
|
if ./qt-install.sh $TARGET ; then
|
|
echo -e "\n * Qt库和头,编译和安装成功\n"
|
|
else
|
|
echo -e "\n !!! Qt库和头,编译和安装失败\n"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
exit 0
|