|
@@ -1,4 +1,3 @@
|
|
|
-
|
|
|
#qt_com=$(arch)
|
|
|
qt_com=`arch`
|
|
|
if [ $qt_com = "aarch64" ];then
|
|
@@ -7,6 +6,10 @@ else
|
|
|
qtmake="/opt/Qt5.10.1/5.10.1/gcc_64/bin/qmake"
|
|
|
fi
|
|
|
|
|
|
+if [ $(uname -m) == "x86_64" ]; then
|
|
|
+ qtmake="/usr/lib/x86_64-linux-gnu/qt5/bin/qmake"
|
|
|
+fi
|
|
|
+
|
|
|
if [ ! $qtmake ];then
|
|
|
echo -e "\e[33m qtmake not set, auto find it\e[0m"
|
|
|
qtmake=`find /opt -name "qmake" 2>/dev/null | grep 'gcc_64'`
|
|
@@ -253,4 +256,3 @@ do
|
|
|
rm ${x}
|
|
|
cd ../../../
|
|
|
done
|
|
|
-
|