Tim, Darrell, all,
The final package for the night is tdepim. Build up to 11% complete went smooth. The we hit what looks like at TQt error in kscoringeditor.cpp. The build fails with the following error:
[ 11%] Building CXX object libtdepim/CMakeFiles/tdepim-shared.dir/kscoringeditor.cpp.o cd /build/src/build/libtdepim && /usr/bin/c++ -Dtdepim_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -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/libtdepim -I/build/src/build -I/build/src/tdepim -I/build/src/tdepim/libtdepim -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -o CMakeFiles/tdepim-shared.dir/kscoringeditor.cpp.o -c /build/src/tdepim/libtdepim/kscoringeditor.cpp /build/src/tdepim/libtdepim/kscoringeditor.cpp: In member function 'void SingleConditionWidget::showRegExpDialog()': /build/src/tdepim/libtdepim/kscoringeditor.cpp:140:91: error: 'class TQDialog' has no member named 'tqt_cast' make[2]: *** [libtdepim/CMakeFiles/tdepim-shared.dir/kscoringeditor.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [libtdepim/CMakeFiles/tdepim-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
It appears that some type case named 'tqt_cast' ( hmm.. those letters sound like something related to Pearson, don't they :) Anyway, I'm stuck and need a bit of help from the masters to see me through. The way I approached building tdepim was a simple cmake setup:
msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_PREFIX=$TDEDIR \ -DWITH_ALL_OPTIONS=ON \ -DBUILD_ALL=ON
The code complained of in kscoringeditor.cpp is:
void SingleConditionWidget::showRegExpDialog() { TQDialog *editorDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" ); if ( editorDialog ) { KRegExpEditorInterface *editor = static_cast<KRegExpEditorInterface *>( editorDialog->tqt_cast( "KRegExpEditorInterface" ) ); Q_ASSERT( editor ); // This should not fail! editor->setRegExp( expr->text() ); editorDialog->exec(); expr->setText( editor->regExp() ); } }
Line 140;91 : KRegExpEditorInterface *editor = static_cast<KRegExpEditorInterface *>( editorDialog->tqt_cast( "KRegExpEditorInterface" ) );
What do I need to do to get make happy with the casts being done here? Can I patch something? somewhere. You guys have a good one, I'm hitting the hay...