OSX install script #63

Closed
imazine wants to merge 2 commits from osx into osx
2 changed files with 24 additions and 3 deletions
+3 -3
View File
@@ -12,8 +12,8 @@
# Qt-es
/.qmake.cache
/.qmake.stash
.qmake.cache
.qmake.stash
*.pro.user
*.pro.user.*
*.moc
@@ -32,5 +32,5 @@ Makefile*
*.qmlproject.user.*
# Others
imports
*.xcf
Executable
+21
View File
@@ -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