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 - [PATCH] moc-tqt compilation obstacle
Summary: [PATCH] moc-tqt compilation obstacle
Status: RESOLVED INVALID
Alias: None
Product: TDE
Classification: Unclassified
Component: tqtinterface (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: Other Linux
: P5 minor
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2010-10-27 07:00 CDT by Aleksey Midenkov
Modified: 2012-10-19 15:22 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.