diff options
author | Christian Tismer <tismer@stackless.com> | 2015-07-16 16:40:26 +0200 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2015-07-16 16:40:26 +0200 |
commit | 5acd8ae260af22950024dd40f2e65da253cb6e26 (patch) | |
tree | 9ba33ea218554a792b04ca98b35f188fc3a88147 /qtinfo.py | |
parent | 82d638b30b4bdee87faf5324108c9d0da6acc761 (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.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |