summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kde.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/kde.py b/kde.py
index a3ceda1..4b0982e 100644
--- a/kde.py
+++ b/kde.py
@@ -125,18 +125,18 @@ def detect_kde(env):
env['QT_UIC'] = uic
print "Checking for moc : ",
- moc = qtdir + "/bin/moc"
+ moc = qtdir + "/bin/tqmoc"
if os.path.isfile(moc):
print GREEN + "moc was found as " + moc + NORMAL
else:
moc = os.popen("which moc 2>/dev/null").read().strip()
if len(moc):
print YELLOW + "moc was found as " + moc + NORMAL
- elif os.path.isfile("/usr/share/tqt3/bin/moc"):
- moc = "/usr/share/tqt3/bin/moc"
+ elif os.path.isfile("/usr/share/tqt3/bin/tqmoc"):
+ moc = "/usr/share/tqt3/bin/tqmoc"
print YELLOW + "moc was found as " + moc + NORMAL
- elif os.path.isfile("/usr/share/qt3/bin/moc"):
- moc = "/usr/share/qt3/bin/moc"
+ elif os.path.isfile("/usr/share/qt3/bin/tqmoc"):
+ moc = "/usr/share/qt3/bin/tqmoc"
print YELLOW + "moc was found as " + moc + NORMAL
else:
print RED + "moc was not found - set QTDIR or put it in your PATH ?" + NORMAL