summaryrefslogtreecommitdiffstats
path: root/src/kdedistutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/kdedistutils.py')
-rw-r--r--src/kdedistutils.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/kdedistutils.py b/src/kdedistutils.py
index 908a130..03e6b9f 100644
--- a/src/kdedistutils.py
+++ b/src/kdedistutils.py
@@ -585,6 +585,19 @@ class BuildKControlModule(Command):
# Qt lib dir
if self.qt_lib_dir is None:
canidatepaths = []
+ qtdir = os.getenv("TQTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,get_libdir_name()))
+ canidatepaths.append("/opt/tqt3/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/lib/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt3/lib/"+get_libdir_name())
+ self.qt_lib_dir = FindFileInPaths('libtqt*',canidatepaths)
+ if self.qt_lib_dir is None:
+ canidatepaths = []
qtdir = os.getenv("QTDIR")
if qtdir != None:
canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
@@ -1513,6 +1526,19 @@ class BuildKioslave(Command):
# Qt lib dir
if self.qt_lib_dir is None:
canidatepaths = []
+ qtdir = os.getenv("TQTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,"lib/tqt3/"+get_libdir_name()))
+ canidatepaths.append(os.path.join(install.prefix,get_libdir_name()))
+ canidatepaths.append("/opt/tqt3/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt/lib/"+get_libdir_name())
+ canidatepaths.append("/opt/tqt3/lib/"+get_libdir_name())
+ self.qt_lib_dir = FindFileInPaths('libtqt*',canidatepaths)
+ if self.qt_lib_dir is None:
+ canidatepaths = []
qtdir = os.getenv("QTDIR")
if qtdir != None:
canidatepaths.append(os.path.join(qtdir,get_libdir_name()))