Skip to content

Commit

Permalink
Update configure.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dragly committed Oct 18, 2016
1 parent 4e99bb5 commit ba20507
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
import subprocess
import os

if len(argv) < 2:
print("Usage: python configure.py <qmake path>")
print("qmake path is typically /home/username/apps/Qt/5.6/gcc_64/bin/qmake")
exit(0)
#if len(argv) < 2:
# print("Usage: python configure.py <qmake path>")
# print("qmake path is typically /home/username/apps/Qt/5.6/gcc_64/bin/qmake")
# exit(0)

qmake_path = argv[1]
#qmake_path = argv[1]

subprocess.call("git submodule init", shell=True)
subprocess.call("git submodule update", shell=True)

os.mkdir("libs/build-qtcharts")
os.chdir("libs/build-qtcharts")
#os.mkdir("libs/build-qtcharts")
#os.chdir("libs/build-qtcharts")

subprocess.call(qmake_path + " ../qtcharts", shell=True)
subprocess.call("make -j4", shell=True)
subprocess.call("make install", shell=True)
#subprocess.call(qmake_path + " ../qtcharts", shell=True)
#subprocess.call("make -j4", shell=True)
#subprocess.call("make install", shell=True)

0 comments on commit ba20507

Please sign in to comment.