cmake, KDE3 and .ui files

Alexander Neundorf neundorf at kde.org
Sun Feb 12 17:51:05 CET 2006


On Sunday 12 February 2006 17:35, Andreas Beckermann wrote:
> Hi
> the current kdelibs trunk cmake file fail at compiling .ui files in KDE3
> projects, as KDE3_ADD_UI_FILES searches for kde3uic in
> ${CMAKE_ROOT}/Modules, where it does not exist (using cmake 2.3.3).
>
> The attached patch mirrors the behavior of KDE4Macros.cmake at this and
> used the local files instead in that case.
>
> In addition I modified KDE3_AUTOMOC, so that it handles files with absolute
> path correctly.
> I expect that the same problem exists with KDE4_AUTOMOC, btw.
> It's harmless with current KDE code, as such files (e.g. sources from a
> previous KDE3_ADD_UI_FILES) don't include .moc files (and are therefore
> ignored here), however in my project we currently need this patch.


Thank you for the patch, will apply it.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list