Results 1 to 2 of 2

Thread: Customizing UIC (User Interface Compiler)

  1. #1
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Customizing UIC (User Interface Compiler)

    Hi

    Does anybody know, if there is a way to customize the UIC process?

    I would like to have a common base class for all my generated Ui classes, with virtual functions for setupUi() and retranslateUi(). Can I tell the UI compiler to inherit always from a base class?

    Some of my UI files are > 500 kb. As a result of this, the generated header files are quite big and are a problem for the linker \ code optimizer. Is it true, that there is no way to separate the the definition and the declaration of the 2 functions above into a header and a cpp file?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Customizing UIC (User Interface Compiler)

    It certainly doesn't have an option for that.

    Is there a reason you want multiple cpp files to access the same header? Otherwise it's not really a problem?

Similar Threads

  1. Regarding Database Display through user interface
    By Tavit in forum Qt Programming
    Replies: 1
    Last Post: 1st April 2008, 10:32
  2. User Interface with QTableView
    By Brandybuck in forum Qt Programming
    Replies: 1
    Last Post: 22nd March 2006, 23:24

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.