aboutsummaryrefslogtreecommitdiffstats
path: root/qtinfo.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2015-07-16 16:40:26 +0200
committerChristian Tismer <tismer@stackless.com>2015-07-16 16:40:26 +0200
commit5acd8ae260af22950024dd40f2e65da253cb6e26 (patch)
tree9ba33ea218554a792b04ca98b35f188fc3a88147 /qtinfo.py
parent82d638b30b4bdee87faf5324108c9d0da6acc761 (diff)
support the location of the installed Qt5 docs.
This configuration needs to be set by setup.py and is then known in the make files.
Diffstat (limited to 'qtinfo.py')
-rw-r--r--qtinfo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtinfo.py b/qtinfo.py
index 631adb667..7c4cde76b 100644
--- a/qtinfo.py
+++ b/qtinfo.py
@@ -33,6 +33,9 @@ class QtInfo(object):
def getHeadersPath(self):
return self.getProperty("QT_INSTALL_HEADERS")
+ def getDocsPath(self):
+ return self.getProperty("QT_INSTALL_DOCS")
+
def getProperty(self, prop_name):
cmd = [self._qmake_path, "-query", prop_name]
proc = subprocess.Popen(cmd, stdout = subprocess.PIPE, shell=False)
@@ -52,3 +55,4 @@ class QtInfo(object):
imports_dir = property(getImportsPath)
translations_dir = property(getTranslationsPath)
headers_dir = property(getHeadersPath)
+ docs_dir = property(getDocsPath)