trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdelibs/dcop/dcopidl2cpp/main.cpp:44: error: 'qVersion' was not declared in this scope

From: "Timothy Pearson" <kb9vqf@...>
Date: Mon, 5 Mar 2012 12:57:06 -0600
> I'm seeing this error with tdelibs. I updated GIT this morning but saw the
> same error yesterday after updating GIT.
>
> /dev/shm/tdelibs/dcop/dcopidl2cpp/main.cpp:44: error: 'qVersion' was not
> declared in this scope
> /dev/shm/tdelibs/dcop/dcopidl2cpp/main.cpp:96: error: 'qFatal' was not
> declared in this scope
>
> I can patch the problem by adding the "t" prefix: tqVersion, tqFatal, etc.
>
> But with each patch a new error appears. For example, qWarning ->
> tqWarning, qt_xrootwin -> tqt_xrootwin, qt_xdisplay -> tqt_xdisplay,
> qDebug -> tqDebug, qt_use_xrender -> tqt_use_xrender, etc.
>
> TQt3, tqtinterface, arts and other dependencies build without failure.
>
> Darrell

GIT contains the t* prefixes (see
http://git.trinitydesktop.org/cgit/tdelibs/tree/dcop/dcopidl2cpp/main.cpp
for an example), so something must be preventing an update on your end. 
Does GIT spew any warning messages?  If you don't have any local changes
in your GIT tree, you could always try this command:

git reset --hard HEAD

to reset the tree to a pristine state.

Tim