From ba20507112e0b1921c5481e9512c971dd6803563 Mon Sep 17 00:00:00 2001 From: Svenn-Arne Dragly Date: Tue, 18 Oct 2016 11:52:45 +0200 Subject: [PATCH] Update configure.py --- configure.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.py b/configure.py index a6c0dd1b..5c9a9d7b 100644 --- a/configure.py +++ b/configure.py @@ -2,19 +2,19 @@ import subprocess import os -if len(argv) < 2: - print("Usage: python configure.py ") - 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 ") +# 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)