On 08/09/2012 01:15 PM, David C. Rankin wrote:
Slavek,
I think there is a t->k problem in
tdevelop/kdevdesigner/designer/listeditor.ui.h:33:5. The error at 89% is:
In file included from /build/src/build/kdevdesigner/designer/listeditor.cpp:22:0:
/build/src/build/kdevdesigner/designer/listeditor.ui.h: In member function
'virtual void ListEditor::addItem()':
/build/src/build/kdevdesigner/designer/listeditor.ui.h:33:5: error: 'App' was
not declared in this scope
The code is:
void ListEditor::addItem()
{
TQListViewItem *i = new TQListViewItem( listview, listview->lastItem() );
i->setRenameEnabled( 0, TRUE );
33 tqApp->processEvents();
i->startRename( 0 );
}
Is this supposed to be 'qApp' instead of 'tqApp'? I don't know if
this is a
needed 'tqt-interface' 't' or a stray 't' from the TQt3 rename.
What say the
experts?
Actually, I don't know why that code is failing, it hasn't changed since my last
svn pull in 8/11. The full error was:
[ 89%] Building CXX object
kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/listeditor.cpp.o
cd /build/src/build/kdevdesigner/designer && /usr/bin/c++
-Dlibkdevdesignerpart_module_EXPORTS -DHAVE_CONFIG_H -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -DDESIGNER -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wno-deprecated -include tqt.h -fPIC -I/build/src/build/kdevdesigner/designer
-I/build/src/tdevelop/kdevdesigner/designer
-I/build/src/tdevelop/kdevdesigner/shared
-I/build/src/tdevelop/lib/interfaces/external -I/opt/trinity/include
-I/opt/qt3/include -I/usr/include/tqt -include tqt.h -UQT_NO_ASCII_CAST -o
CMakeFiles/libkdevdesignerpart-module.dir/listeditor.cpp.o -c
/build/src/build/kdevdesigner/designer/listeditor.cpp
In file included from /build/src/build/kdevdesigner/designer/listeditor.cpp:22:0:
/build/src/build/kdevdesigner/designer/listeditor.ui.h: In member function
'virtual void ListEditor::addItem()':
/build/src/build/kdevdesigner/designer/listeditor.ui.h:33:5: error: 'App' was
not declared in this scope
Any ideas?
--
David C. Rankin, J.D.,P.E.