summaryrefslogtreecommitdiff
path: root/qbs/imports/QtcProcessOutputReader/procoutputreader.js
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-16 12:11:22 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-17 13:33:03 +0000
commit31258ec5555d929f4cd33e2836e24b470cf6908b (patch)
tree4d4efcd1d238e9307739d56c3e0b6cd8125e6980 /qbs/imports/QtcProcessOutputReader/procoutputreader.js
parent1ce258d71018ad10b63fb8a37e1b0f16d21b3793 (diff)
downloadqt-creator-31258ec5555d929f4cd33e2836e24b470cf6908b.tar.gz
qbs build: Introduce libclang module.
This is The Right Way to detect libclang. Using a Probe will also slightly improve performance in qbs 1.6 due to the result caching. Change-Id: I063a8d108d02b620dda2df75dd8c014c84f27ec7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'qbs/imports/QtcProcessOutputReader/procoutputreader.js')
-rw-r--r--qbs/imports/QtcProcessOutputReader/procoutputreader.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/qbs/imports/QtcProcessOutputReader/procoutputreader.js b/qbs/imports/QtcProcessOutputReader/procoutputreader.js
deleted file mode 100644
index 695a61ec88..0000000000
--- a/qbs/imports/QtcProcessOutputReader/procoutputreader.js
+++ /dev/null
@@ -1,11 +0,0 @@
-var Process = loadExtension("qbs.Process")
-
-function readOutput(executable, args)
-{
- var p = new Process();
- var output = "";
- if (p.exec(executable, args, false) !== -1)
- output = p.readStdOut().trim(); // Trailing newline.
- p.close();
- return output;
-}