uic error compiling kde app

Andy Goossens andygoossens at pandora.be
Tue Jun 24 18:59:03 CEST 2003

Hi all,

I just installed the first update for KDE-3.1.1 beta 1, but during the 
./configure process for a KDE application I get this error:

checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.

The following command completes succesfully:
/opt/kde3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -impl 
actest.h actest.ui > actest.cpp

But the resulting actest.cpp file doesn't have the "klineedit" include 
(everything else seems fine). That missing includes breaks the 
./configure process.
(See "if test -f actest.cpp && grep klineedit actest.cpp" line in 

After some investigation I might have found the cause. I removed ~/.qt 
and restarted the cygwin shell. This time, the uic command (see above) 
gave an error message:
Conflict in /opt/kde3/lib/kde3/plugins/designer/kdewidgets.dll:
   Plugin uses incompatible Qt library (3.1.2)!
at the position where the klineedit include should have been...

According to qtconfig and kde apps, they were using Qt 3.1.0 ...

More information about the kde-cygwin mailing list