CopperSpice Overview  1.5.1
UIC

Qt Designer automatically generates .ui files when a screen layout is saved. The User Interface Compiler (UIC) is used to compile these files when your application is built. Each .ui file is compiled into a C++ ui_*.h file.

How to use UIC

uic [options] <uifile>

UI accepts the following command line options:

Option Description
-o <file> Write output to <file> instead of standard output
-tr <func> Use <func> for translating strings instead of tr()
-p Do not generate guards against multiple inclusion (#ifndef FOO_H)
-v Display version number
-h Display usage information

When compiling an application using the CopperSpice library and .ui files, the options for UIC can be specified in the Makefile. For a sample Makefile, refer to Sample Project