trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] kdebase - 'QWIDGET_OBJECT_NAME_STRING' was not declared in this scope

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 12 May 2011 16:04:28 -0500
On 05/12/2011 12:16 PM, David C. Rankin wrote:
> On 05/12/2011 11:37 AM, Timothy Pearson wrote:
>> OK, it looks like there is definitely an error in the code you
>> highlighted. QWIDGET_OBJECT_NAME_STRING should be
>> TQWIDGET_OBJECT_NAME_STRING. This is caused by an overagressive
>> tqt-replace and has been fixed in SVN revision 1231611. This means you
>> will have to recompile and reinstall tqtinterface from the latest SVN
>> sources.
>>
>> Tim
>>
>
> Good, I'm not going crazy...
>

Tim,

   After rebuild and install of tqtinterface, I still get the same kdebase 
build failure:

[ 16%] Building CXX object 
kcontrol/style/CMakeFiles/kcm_style-module.dir/stylepreview.cpp.o
cd /build/src/build/kcontrol/style && /usr/bin/c++ 
-Dkcm_style_module_EXPORTS -DHAVE_CONFIG_H -march=i686 -mtune=generic -O2 
-pipe   -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC 
-I/build/src/build/kcontrol/style -I/build/src/build -I/opt/trinity/include 
-I/opt/qt/include -I/opt/qt/include/tqt   -o 
CMakeFiles/kcm_style-module.dir/stylepreview.cpp.o -c 
/build/src/build/kcontrol/style/stylepreview.cpp
In file included from /build/src/build/kcontrol/style/stylepreview.cpp:30:0:
/build/src/build/kcontrol/style/stylepreview.ui.h: In member function 'virtual 
void StylePreview::init()':
/build/src/build/kcontrol/style/stylepreview.ui.h:36:32: error: 
'QWIDGET_OBJECT_NAME_STRING' was not declared in this scope
/build/src/build/kcontrol/style/stylepreview.ui.h:43:41: error: 'Q_NoFocus' 
was not declared in this scope
make[2]: *** 
[kcontrol/style/CMakeFiles/kcm_style-module.dir/stylepreview.cpp.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [kcontrol/style/CMakeFiles/kcm_style-module.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...
Build failed, check /home/david/bld/david/build



No T in QObjectList* l = queryList(QWIDGET_OBJECT_NAME_STRING);


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