trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-devel] kdelibs FTBFS

From: "Timothy Pearson" <kb9vqf@...>
Date: Sun, 11 Sep 2011 12:39:48 -0500
>> -the knotifywidgetbase.ui contains TQ* classes
>> -there are no q*.h or tq*.h additional includes
>> Is the Qt3 uic really supposed to guess the right includes for TQ*
>> classes ?

There is a call to tqt-replace in the UIC CMake module, which converts the
TQ* classes to the Q* classes UIC is expecting.

> Furthermore, I have the following suspect code in
> $kdelibsbuilddir/kio/kfile/CMakeFiles/kfile-static.dir/build.make:
>
> kio/kfile/knotifywidgetbase.h:
> /home/ddslack/trinity/kdelibs/kio/kfile/knotifywidgetbase.ui
>         $(CMAKE_COMMAND) -E cmake_progress_report
> /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/CMakeFiles
> $(CMAKE_PROGRESS_69)
>         @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue
> --bold "Generating knotifywidgetbase.h, knotifywidgetbase.cpp"
>         cd /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/kio/kfile &&
> /usr/bin/cmake
> -DUIC_EXECUTABLE:FILEPATH=/opt/kde3/lib64/qt3/bin/uic
> -DTDE_QTPLUGINS_DIR:FILEPATH=
> -DUI_FILE:FILEPATH=/home/ddslack/trinity/kdelibs/kio/kfile/knotifywidgetbase.ui
> -P /home/ddslack/trinity/kdelibs/cmake/modules/tde_uic.cmake
>         cd /tmp/SBo/build-trinity-kdelibs-3.5.13-svn20110515/kio/kfile &&
> /opt/kde3/lib64/qt3/bin/moc knotifywidgetbase.h >>
> knotifywidgetbase.cpp

What is suspect about it?

Please post the knotifywidgetbase.ui, knotifywidgetbase.cpp, and
kio/kfile/knotifywidgetbase.h files.

BTW, are you doing an in-source build?  If so, in-source builds are not
supported, and could theoretically cause problems like this.

Thanks!

Tim