Continuing to shed light on my issue.
The same appeared on second host. Both have Ubuntu 'Precise' on it.
GCC version is different: 4.6.2 vs 4.5.3. cmake version: 2.8.5 vs
2.8.7. Looks like these two are not the cause of the problem. I should
really look at uic sources.
Will remind what's going on:
[ 18%] Building CXX object
kdeui/CMakeFiles/kdeui-shared.dir/kshortcutdialog_simple.cpp.o
/home/midenok/src/kde/tdelibs/build.debug/kdeui/kshortcutdialog_simple.cpp:
In constructor ‘KShortcutDialogSimple::KShortcutDialogSimple(QWidget*,
const char*)’:
/home/midenok/src/kde/tdelibs/build.debug/kdeui/kshortcutdialog_simple.cpp:31:50:
error: invalid use of incomplete type ‘struct QLabel’
Adding '#include <qlabel.h>' to kshortcutdialog_simple.cpp fixes it.
But moves straight to similar error:
[ 10%] Building CXX object
tdeui/CMakeFiles/tdeui-shared.dir/kshortcutdialog_advanced.cpp.o
/home/midenok/src/kde/tdelibs/build.debug/tdeui/kshortcutdialog_advanced.cpp:
In constructor ‘KShortcutDialogAdvanced::KShortcutDialogAdvanced(QWidget*,
const char*)’:
/home/midenok/src/kde/tdelibs/build.debug/tdeui/kshortcutdialog_advanced.cpp:33:58:
error: invalid use of incomplete type ‘struct QButtonGroup’
Looking at kshortcutdialog_simple.ui shows:
<widget class="TQLabel" row="0" column="0">
I suppose uic must add any q*.h include to any TQ* class it finds in .ui?