Message: previous - next
Month: May 2011

kdebase - 'QWIDGET_OBJECT_NAME_STRING' was not declared in this scope

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 11 May 2011 21:04:30 -0500

   Continuing the build in the 'pristine' environment, I ran into the following 
kdebase issue:

[ 16%] Building CXX object 
cd /build/src/build/kcontrol/style && /usr/bin/c++   -Dkcm_style_module_EXPORTS 
-DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe   -DQT_NO_ASCII_CAST 
-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 
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().

Is this a build error on my end, or is this a CMake or header issue?

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