[Qt-interest] uic3 generates #include's for non-existing headers

Angel Tsankov fn42551 at fmi.uni-sofia.bg
Fri Sep 3 23:01:19 CEST 2010


Hello.

I've installed qt 4.6.3 configured with "-prefix /usr -docdir 
/usr/share/doc/qt -plugindir /usr/lib/qt/plugins -opensource -no-phonon 
-nomake demos -nomake examples -plugin-sql-mysql -system-sqlite" and 
tried to build KDE 4.4.5. I failed to compile kdenetwork and kdewebdev: 
the problem seems to be that uic3 generates code like this:

#include <Qt3Support/Q3Header>
#include <Qt3Support/Q3MimeSourceFactory>
#include <QtCore/QVariant>
#include <QtGui/QAction>
// Other <QtGui/*> #include's
#include <qtable.h> // In kdenetwork
#include <qwidgetstack.h> // In kdewebdev

As you can guess, the last two files do not exist and I wonder why uic3 
does not instead generate #include's for <Qt3Support/Q3Table> and 
<Qt3Support/Q3WidgetStack>, both of which exist.

Regards,
Angel Tsankov

P.S. The corresponding ui files 
(kdenetwork-4.4.5/filesharing/advanced/kcm_sambaconf/usertab.ui and 
kdewebdev-4.4.5/kfilereplace/kfilereplaceviewwdg.ui) are too old to be 
compiled with uic -- they've been created with Qt Designer 3.

P.S.2 I can build all of KDE (incl. kdenetwork and kdewebdev) with the 
pre-built Qt package.




More information about the Qt-interest-old mailing list