From 5acd8ae260af22950024dd40f2e65da253cb6e26 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Thu, 16 Jul 2015 16:40:26 +0200 Subject: 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. --- qtinfo.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qtinfo.py') 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) -- cgit v1.2.3