Message: previous - next
Month: August 2012

[SOLVED - push] Re: [trinity-devel] [FOUND] Re: [trinity-devel] tdevelop FTBFS 3.5.13-sru, error: 'App' was not declared in this scope

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 11 Aug 2012 14:14:21 -0500
On 08/11/2012 02:45 AM, Francois Andriot wrote:
> Hello, using tqtinterface 3.5.13 (not SRU), it works for me if I rename "tqApp"
> with "qApp" in "listeditor.ui.h".
> But if I leave "tqApp", it is modified to "App" and causes FTBFS, as you describe.
> I think the culprit is uic-tqt, which calls the tqt-replace script, which
> contains lots of sed commands. See line 14 of the script.
> Try and see yourself:
> sed 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' listeditor.ui.h
> Francois

Tim, Francios,

  Thank you for pointing me in the right direction. I know very little about all
the sed magic going on behind the scenes. I couldn't even find the call. But I
found the solution!

  tqt-replace in 3.5.13-sru is MISSING THE LINE:

+   sed -i 's/tqApp/qApp/g' "$1"
    sed -i 's/\([ \t]\)tq\([^:(_)\t ]\)/\1\2/g' "$1"

  It is present in R14, but is NOT in 3.5.13-sru. Please signoff and push Slavek :)

David C. Rankin, J.D.,P.E.