Results 1 to 3 of 3

Thread: Problem with uic !!!!!

  1. #1
    Join Date
    May 2008
    Location
    Spain
    Posts
    92
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Problem with uic !!!!!

    Hello,

    I have a problem with uic.
    Normally I use uic to obtain cpp and h source code from .ui file.

    uic -o form1.h form1.ui -> this execute correctly
    uic -o form1.cpp -i form1.h form1.ui -> error

    uic -v Qt User Interface Compiler version 4.4.0

    what is the problema??? uic does not recognize this flag -i

    best regards

  2. #2
    Join Date
    Jun 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Problem with uic !!!!!

    And what for are you using the "-i" flag? Uic doesn't handle such option.
    Also uic generates only 1 file, containing a setupUi function.

    PS: I've also found this - http://lists.trolltech.com/qt-intere...ad00384-0.html

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with uic !!!!!

    Maybe you are using uic from Qt4 for developing a Qt2/Qt3 application? Things changed significantly between Qt3 and Qt4 and the way uic is used is among those changes.

Similar Threads

  1. problem with paint and erase in frame
    By M.A.M in forum Qt Programming
    Replies: 9
    Last Post: 4th May 2008, 20:17
  2. Problem with QMake/UIC
    By hardgeus in forum Qt Programming
    Replies: 11
    Last Post: 31st March 2008, 18:51
  3. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  4. Replies: 2
    Last Post: 11th July 2006, 14:19
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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
  •  
Qt is a trademark of The Qt Company.