CMake: please update to 2.4.0

Thorsten Röder thorsten.roeder at weihenstephan.org
Sun Apr 23 20:12:22 BST 2006


Hi, 

> -----Original Message-----
> From: Stefan Winter [mailto:swinter at kde.org] 
> Sent: Sunday, April 23, 2006 1:35 PM
> To: kde-core-devel at kde.org
> Subject: Re: CMake: please update to 2.4.0
> 
> Hi,
> 
> >> CMakeLists.txt of the directory kdenetwork/wifi contains 
> the ui files 
> >> that should generate the .h files:
> > 
> > The generated headers are prefixed with ui_ now. Two reasons:
> > 1. that's what the Qt documentation says 2. you now can 
> name your ui 
> > file and according sources like this:
> > mydialog.ui
> > mydialog.h
> > mydialog.cpp
> 
> But it doesn't happen: in the build dir
> 
> rainbow wifi # ls -al
> total 84
> drwxr-xr-x   5 root root 4096 Apr 23 11:40 .
> drwxr-xr-x  21 root root 4096 Apr 23 11:40 ..
> drwxr-xr-x   3 root root 4096 Apr 23 11:40 CMakeFiles
> -rw-r--r--   1 root root  472 Apr 23 11:40 DartTestfile.txt
> -rw-r--r--   1 root root 6522 Apr 23 11:40 Makefile
> -rw-r--r--   1 root root 2930 Apr 23 11:40 cmake_install.cmake
> -rw-r--r--   1 root root  327 Apr 23 11:40 interface_dcop.kidl
> -rw-r--r--   1 root root 1577 Apr 23 11:40 interface_dcop_skel.cpp
> -rw-r--r--   1 root root 6419 Apr 23 11:40 interface_wireless.moc
> -rw-r--r--   1 root root 2628 Apr 23 11:40 
> interface_wireless_wirelessextensions.moc
> -rw-r--r--   1 root root 3827 Apr 23 11:40 kwifi_ifaceimpl.moc
> -rw-r--r--   1 root root 5713 Apr 23 11:40 kwifi_settings.cpp
> -rw-r--r--   1 root root 7653 Apr 23 11:40 kwifi_settings.h
> -rw-r--r--   1 root root    0 Apr 23 11:40 kwifi_settings.moc
> -rw-r--r--   1 root root 3601 Apr 23 11:40 kwifimanager.moc
> drwxr-xr-x   3 root root 4096 Apr 23 11:40 locations
> -rw-r--r--   1 root root 2326 Apr 23 11:40 networkscanning.moc
> drwxr-xr-x   3 root root 4096 Apr 23 11:40 pixmaps
> rainbow wifi #           
> 
> I've coarse-read the ui_ prefixing thread, and it was one of 
> the first things that came to my mind. It looks like the 
> files really aren't generated at all. 
> moc's yes, ui_*.h no.
> 
> Also a make clean and subsequent make show that nothing 
> happens wrt ui files:
> 
> rainbow wifi # make
> Generating interface_wireless.moc
> Generating interface_wireless_wirelessextensions.moc
> Generating kwifi_ifaceimpl.moc
> Generating networkscanning.moc
> Generating kwifimanager.moc
> Generating interface_dcop.kidl
> Generating interface_dcop_skel.cpp
> Generating kwifi_settings.cpp
> Generating kwifi_settings.moc
> /usr/src/KDE-SVN/trunk/KDE/kdenetwork/build/wifi/kwifi_setting
> s.h:0: Warning: 
> No relevant classes found. No output generated.
> Scanning dependencies of target kwifimanager Building CXX 
> object wifi/CMakeFiles/kwifimanager.dir/interface_wireless.o
> ...
> 

SVN commit 533132 by troeder:

make it compile (ui_ prefixes)


 M  +2 -2      kwifi_ifaceimpl.h  
 M  +2 -2      kwifimanager.cpp  
 M  +2 -2      kwifimanager.h  
 M  +1 -1      networkscanning.cpp  
 M  +1 -1      networkscanning.h  

I renamed the include files, so 
it should compile fine now.

Bye
Thorsten





More information about the kde-core-devel mailing list