From 01135f00fdef5179ce19e4440c8353abc6c5b370 Mon Sep 17 00:00:00 2001 From: iMaZiNe Date: Mon, 4 Aug 2014 12:28:49 +0900 Subject: [PATCH] Add install script base on homebrew. --- install.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..afd3eee --- /dev/null +++ b/install.sh @@ -0,0 +1,21 @@ +#!/bin/sh# + +# Install qt5 with homebrew +brew install qt5 + +# Set export paths +export PATH=/usr/local/opt/qt5/bin:$PATH +export LDFLAGS="-L/usr/local/opt/qt5/lib" +export CPPFLAGS="-L/usr/local/opt/qt5/include" + +# Install +cd konsole-qml-plugin +qmake && make && make install + +# Add qt path to shell config file + +shellCF=~/.${SHELL##*/}rc + +echo PATH=/usr/local/opt/qt5/bin:$PATH >> $shellCF +source $shellCF +