CMake: please update to 2.4.0

Stefan Winter swinter at kde.org
Sun Apr 23 12:35:11 BST 2006


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_settings.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
...

Greetings,

Stefan

-- 
The K Desktop Environment
- Stefan Winter -
Areas of Activity:
kdenetwork/wifi (KWiFiManager)
kde-i18n/de (German translation)




More information about the kde-core-devel mailing list