qtmake="/opt/Qt5.10.1/5.10.1/gcc_64/bin/qmake" #qtmake="/opt/Qt5.11.2/5.11.2/gcc_64/bin/qmake" show_error=$1 check_result() { if [ "$1" != 0 -a "$show_error" == "s" ];then echo -e "\e[33m*************************************************\e[0m" echo -e "\e[31m Please modify build error first,Exit!\e[0m" echo -e "\e[33m*************************************************\e[0m" exit 1 fi } MAKEOPT=-j8 mkdir bin cd src/include/proto sh ./protomake.sh cd ../../../ :<