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

  1. #!/bin/bash
  2. # 接收参数
  3. TARGET=$1
  4. CONFIGOPTS=$2
  5. echo -e "\n正在编译和安装 Qt应用程序开发框架……\n"
  6. if [[ ! -d "LuxMark" ]] ; then
  7. echo
  8. echo -e "\nLuxMark src不可用,跳过编译安装 Qt 阶段\n"
  9. else
  10. ${SHELLROOT}/utils/begin_stage Qt qt-*.tar.gz
  11. cp -v ${SHELLROOT}/installLib/qt-install.sh .
  12. sleep 2
  13. if ./qt-install.sh $TARGET ; then
  14. echo -e "\n * Qt库和头,编译和安装成功\n"
  15. else
  16. echo -e "\n !!! Qt库和头,编译和安装失败\n"
  17. exit 1
  18. fi
  19. fi
  20. exit 0