Results 1 to 4 of 4

Thread: eclipse and uic

  1. #1
    Join Date
    May 2008
    Posts
    61
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9

    Default eclipse and uic

    Hi,

    Is it possible to set the path that the ui_XXX.h files will be generated on eclipse with qt-eclipse integration installed ?

    Sami

  2. #2
    Join Date
    Jul 2008
    Posts
    69
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9
    Thanked 4 Times in 4 Posts

    Default Re: eclipse and uic

    I m sure I understand the question (or what you want to do) but if you want to create and make your ui inside eclipse it is possible, but first you need to install the QT plug-in

    http://www.qtcentre.org/forum/f-inst...ome-14787.html

    this previous post may help if you want to install QT in eclipse.
    Hope this help
    SunnySan

  3. #3
    Join Date
    May 2008
    Posts
    61
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9

    Default Re: eclipse and uic

    Actually, my problem is that, when I add ui files to the project, uic.exe generates the files in the root directory of the project. I want to generate the files in a directory such as "ui.generated".

    If that would not be possible, then the best way seems to be to write a batch file.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: eclipse and uic

    See qmake variable reference: UI_DIR.
    J-P Nurmi

  5. The following user says thank you to jpn for this useful post:

    alisami (29th July 2008)

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.