Results 1 to 2 of 2

Thread: uic3 generates #include's for non-existing headers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default uic3 generates #include's for non-existing headers

    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:

    Qt Code:
    1. #include <Qt3Support/Q3Header>
    2. #include <Qt3Support/Q3MimeSourceFactory>
    3. #include <QtCore/QVariant>
    4. #include <QtGui/QAction>
    5. // Other <QtGui/*> #include's
    6. #include <qtable.h> // In kdenetwork
    7. #include <qwidgetstack.h> // In kdewebdev
    To copy to clipboard, switch view to plain text mode 

    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. Does anyone have an idea?

    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.
    Last edited by angel-tsankov; 3rd September 2010 at 21:10.

Similar Threads

  1. How to include existing files to project?
    By Asperamanca in forum Qt Tools
    Replies: 2
    Last Post: 14th November 2009, 20:50
  2. Replies: 2
    Last Post: 24th May 2009, 17:05
  3. uic3 QAction problem
    By batileon in forum Qt Programming
    Replies: 0
    Last Post: 16th June 2008, 10:35
  4. Uic3 crashes...
    By amcdaniel in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2007, 22:06

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.