aboutsummaryrefslogtreecommitdiffstats
path: root/qtinfo.py
diff options
context:
space:
mode:
authorChristian Tismer <ctismer@gmail.com>2015-09-17 13:00:09 +0200
committerChristian Tismer <ctismer@gmail.com>2015-09-17 13:00:09 +0200
commit344d201ee3d9596f15b2724d13bf04beb5ad76ce (patch)
treeff2f2d0af85b55bc39e8e11b7be0bfa492d35bdf /qtinfo.py
parent72a8c88f228c7ce821ba4c027efb9b2c9606b62b (diff)
parentd565814858c58406567e6618aaeea6ccffbf69e9 (diff)
simplify the project structure. "qt5" is replaced by "master".
For the old qt4 version, the old repository should be used.
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)