On commit number 66cc20, I get the following error:
Starting compilation
Could not find mkspecs for your QMAKESPEC(macx-clang) after trying:
/usr/local/Cellar/qt/4.8.7_2/mkspecs
Error processing project file: texstudio.pro
make: *** No rule to make target /usr/local/Cellar/qt/4.8.7_1/mkspecs/macx-g++/qmake.conf', needed byMakefile'. Stop.
make: *** No rule to make target /usr/local/Cellar/qt/4.8.7_1/mkspecs/macx-g++/qmake.conf', needed byMakefile'. Stop.
Compilation and installation done
we don't offer qt4 builds for osx for some time.
In the end, either change the BUILD.sh back to
"$QMAKE -macx -spec macx-g++ $TXSCOMPILEOPTIONS texstudio.pro"
or directly use qmake/make. (usually the command "make" should be sufficient)
compile by hand if you really need qt4