Results 1 to 2 of 2

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

  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 22:10.

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

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

    This problem appears when I configure Qt with

    Qt Code:
    1. ./configure -prefix /usr -docdir /usr/share/doc/qt\
    2. -plugindir /usr/lib/qt/plugins\
    3. -translationdir /usr/share/qt/translations -opensource\
    4. -no-phonon -nomake demos -nomake examples\
    5. -plugin-sql-mysql -system-sqlite
    To copy to clipboard, switch view to plain text mode 

    and does not appear when I configure it with

    Qt Code:
    1. ./configure -prefix /opt/qt -bindir /usr/bin -libdir /usr/lib\
    2. -plugindir /usr/lib/qt/plugins -sysconfdir /etc/qt\
    3. -headerdir /usr/include -docdir /usr/share/doc/qt\
    4. -opensource -no-phonon -nomake demos -nomake examples\
    5. -plugin-sql-mysql -system-sqlite
    To copy to clipboard, switch view to plain text mode 

    I was able to trace the problem to libQtCore.so but did not investigate any further.


    Angel Tsankov

Similar Threads

  1. How to include existing files to project?
    By Asperamanca in forum Qt Tools
    Replies: 2
    Last Post: 14th November 2009, 21:50
  2. Replies: 2
    Last Post: 24th May 2009, 18:05
  3. uic3 QAction problem
    By batileon in forum Qt Programming
    Replies: 0
    Last Post: 16th June 2008, 11:35
  4. Uic3 crashes...
    By amcdaniel in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2007, 23: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.