diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-27 17:01:22 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-11-27 17:01:22 +0100 |
commit | 1c9e0d95263480a5ae5d645cabb41f835d1dbb70 (patch) | |
tree | 25f46dc18d8f8430d46ad365452ce0d8a7c9d9d0 /qtinfo.py | |
parent | ad14f64972d182fca3e180c08750ca020a91b84e (diff) | |
parent | 2490c34325bb1b39922582090a4cb69c01726999 (diff) |
Merge remote-tracking branch 'origin/5.6' into 5.9
Change-Id: I79637555fbfbd596dee4313baf80149d03bb5206
Diffstat (limited to 'qtinfo.py')
-rw-r--r-- | qtinfo.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -67,9 +67,15 @@ class QtInfo(object): def getLibsPath(self): return self.getProperty("QT_INSTALL_LIBS") + def getLibsExecsPath(self): + return self.getProperty("QT_INSTALL_LIBEXECS") + def getPluginsPath(self): return self.getProperty("QT_INSTALL_PLUGINS") + def getPrefixPath(self): + return self.getProperty("QT_INSTALL_PREFIX") + def getImportsPath(self): return self.getProperty("QT_INSTALL_IMPORTS") @@ -82,6 +88,9 @@ class QtInfo(object): def getDocsPath(self): return self.getProperty("QT_INSTALL_DOCS") + def getQmlPath(self): + return self.getProperty("QT_INSTALL_QML") + def _getProperty(self, prop_name): cmd = self._qmake_command + ["-query", prop_name] proc = subprocess.Popen(cmd, stdout = subprocess.PIPE, shell=False) @@ -101,9 +110,12 @@ class QtInfo(object): version = property(getVersion) bins_dir = property(getBinsPath) libs_dir = property(getLibsPath) + lib_execs_dir = property(getLibsExecsPath) plugins_dir = property(getPluginsPath) + prefix_dir = property(getPrefixPath) qmake_command = property(getQMakeCommand) imports_dir = property(getImportsPath) translations_dir = property(getTranslationsPath) headers_dir = property(getHeadersPath) docs_dir = property(getDocsPath) + qml_dir = property(getQmlPath) |