CHECK_TOOL=check-qtqtuick-scene-render-loop QT_QUICK_BACKEND="software" if which $CHECK_TOOL >/dev/null 2>&1; then render_loop=`/usr/bin/check-qtqtuick-scene-render-loop 2>/dev/null` if [ $render_loop == "non-threaded" ];then export QT_QUICK_BACKEND fi fi