KDE/kdelibs

Michael Drüing michael at drueing.de
Wed Feb 8 12:58:24 CET 2006


Another small fix, this time for kded/kbuildsycoca:
(is there some other place where I should send such small patches?)

-------8<------8<------8<---------

$ svn diff kded
Index: kded/kbuildsycoca.cpp
===================================================================
--- kded/kbuildsycoca.cpp       (revision 507028)
+++ kded/kbuildsycoca.cpp       (working copy)
@@ -484,7 +484,7 @@
 {
   QString path(sycocaPath());
 #ifdef Q_WS_WIN
-  printf("kbuildsycoca: path='%s'\n", (const char*)path);
+  printf("kbuildsycoca: path='%s'\n", path.toAscii());
 #endif

   // KSaveFile first writes to a temp file.

-------8<------8<------8<---------

Also, there's a problem with CMake's NMake makefile generator (cmake version
2.3-20060203), which is seen for example in kded/kde-menu. The generated
file "kde-menu.dir/build.make" contains a definition like this:
# Object files for target kde-menu
kde-menu_OBJECTS = \
"CMakeFiles\kde-menu.dir\kde-menu.obj"

but "-" is not an allowed character in NMake Makefiles variables. I guess
it's because of this in kded/CMakeLists.txt:

set(kde-menu_SRCS
kde-menu.cpp
) 

--Michael

> -----Original Message-----
> From: Michael Drüing [mailto:michael at drueing.de] 
> Sent: Wednesday, February 08, 2006 12:03 AM
> To: kde-buildsystem at kde.org
> Subject: RE: KDE/kdelibs
> 
> In reply to myself...
> 
> > The next build problems are right afterwards, in 
> > kdecore/kconfig_compiler.
> > I'll look at them tomorrow.
> 
> This small patch should do the trick:
> 
> -------8<------8<------8<---------
> 
> $ svn diff kdecore/kconfig_compiler/
> Index: kdecore/kconfig_compiler/CMakeLists.txt
> ===================================================================
> --- kdecore/kconfig_compiler/CMakeLists.txt     (revision 506904)
> +++ kdecore/kconfig_compiler/CMakeLists.txt     (working copy)
> @@ -13,7 +13,7 @@
> 
>  kde4_add_executable(kconfig_compiler ${kconfig_compiler_SRCS})
> 
> -target_link_libraries(kconfig_compiler  ${QT_QTXML_LIBRARY} )
> +target_link_libraries(kconfig_compiler  ${QT_QTXML_LIBRARY}
> ${QT_QTCORE_LIBRARY})
> 
>  install_targets(/bin kconfig_compiler )
> 
> -------8<------8<------8<---------
> 
> now, kdecore compiles just fine (for me, at least ;-)
> 
> --Michael
> 
> 
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem
> 



More information about the Kde-buildsystem mailing list