Skip to content

Instantly share code, notes, and snippets.

@keyz182
Created August 23, 2012 10:25
Show Gist options
  • Save keyz182/3435277 to your computer and use it in GitHub Desktop.
Save keyz182/3435277 to your computer and use it in GitHub Desktop.
QT Module Compile
#!/bin/bash
for i in qtimageformats qtsvg qtjsbackend qtscript qtxmlpatterns qtdeclarative qtsensors qt3d qtgraphicaleffects qtjsondb qtlocation qtquick1 qtsystems qtmultimedia
do
cd ~/opt/qt5/$i && echo "Building $i" && sleep 3 && /usr/local/qt5pi/bin/qmake . && make -j5 && sudo make install && touch COMPILED
cd ~/opt/qt5/
done
for i in qtimageformats qtsvg qtjsbackend qtscript qtxmlpatterns qtdeclarative qtsensors qt3d qtgraphicaleffects qtjsondb qtlocation qtquick1 qtsystems qtmultimedia
do
if [ -e ~/opt/qt5/$i/COMPILED ]
then
echo "Compiled $i"
else
echo "Failed $i"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment