By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 367

Summary: [PATCH] moc-tqt compilation obstacle
Product: TDE Reporter: Aleksey Midenkov <midenok>
Component: tqtinterfaceAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED INVALID    
Severity: minor CC: bugwatch, darrella, robxu9
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: Other   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:

Description Aleksey Midenkov 2010-10-27 07:00:58 CDT
Compilation generates very obscure errors if no tqt-replace is on PATH. Please, fix moc-tqt like this:

Index: moc-tqt
===================================================================
--- moc-tqt     (revision 1185432)
+++ moc-tqt     (working copy)
@@ -2,10 +2,11 @@

 if [[ $1 == "" ]]; then
        echo "Usage: moc-tqt <moc_binary> <input_file> <output_file>"
+       exit 1
 else
-       cp -Rp $2 $2.bkp
-       tqt-replace $2
-       $1 $2 -o $3
-       cp -Rp $2.bkp $2
+       cp -Rp $2 $2.bkp &&
+       tqt-replace $2 &&
+       $1 $2 -o $3 &&
+       cp -Rp $2.bkp $2 &&
        rm -f $2.bkp
 fi
Comment 1 Robert Xu 2011-03-12 19:56:22 CST
moc-tqt has been replaced in the latest SVN.
Comment 2 Timothy Pearson 2011-03-12 20:04:09 CST
Idea of this patch was used to generate a corrected patch for the newer tmoc.  That patch was committed to SVN in revision 1224643.

Thanks for reporting!
Comment 3 Aleksey Midenkov 2011-11-25 08:53:17 CST
Don't see any corrections. moc-tqt still present in latest git revision and is *not* fixed. I also see other scripts like uic-tqt, dcopidl-tqt, etc. which are not fixed too. Please, explain.