[Cmake] Compilation of user interface files
Franck Bettinger
bettingf at cs . man . ac . uk
Fri, 9 Nov 2001 18:07:00 +0000
Hi,
I've added compilation of .ui files to cmake (files created with the designer
tool included in Qt distributions). It uses the QT_WRAP_UI command to
generate headers (.h) and source files (.cxx). The headers file should then
be compiled into moc files using QT_WRAP_CPP.
For instance if you have a list of files called project_ui_files containing
.ui source files you have to write :
QT_WRAP_UI(
project
project_h_files
project_cxx_files
project_ui_files
)
QT_WRAP_CPP(
project
project_moc_files
project_h_files
)
in that order.
I've tested it using linux and it works fine.
Can anyone who is using designer test it with Windows ?
Franck