diff options
author | Darrell Anderson <[email protected]> | 2012-06-20 08:46:39 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-06-20 08:46:39 -0500 |
commit | 5f2719b1eeea0d2f476bc370409a73097be107e4 (patch) | |
tree | 30972cce72d2456905d86266ff1758855048a548 | |
parent | f26ee6ee0ecd2f847f378b56f8768462ff36423f (diff) | |
download | kstreamripper-5f2719b1eeea0d2f476bc370409a73097be107e4.tar.gz kstreamripper-5f2719b1eeea0d2f476bc370409a73097be107e4.zip |
Update for recent TQ changes.
-rw-r--r-- | kde.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |