-
- Downloads
Add automatic uic invocation for Qt.
The source files are already processed by cmQtAutomoc to look for moc includes, so extend that to also look for ui_ includes and find corresponding .ui files to process. This replaces the need to invoke qt4_wrap_ui(). As the ui files are not likely to be part of the SOURCES of the target, store the options associated with them separately in the cmMakefile for querying during the autogen run.
Showing
- Help/manual/cmake-properties.7.rst 3 additions, 0 deletionsHelp/manual/cmake-properties.7.rst
- Help/manual/cmake-variables.7.rst 2 additions, 0 deletionsHelp/manual/cmake-variables.7.rst
- Help/prop_sf/AUTOUIC_OPTIONS.rst 14 additions, 0 deletionsHelp/prop_sf/AUTOUIC_OPTIONS.rst
- Help/prop_tgt/AUTOUIC.rst 22 additions, 0 deletionsHelp/prop_tgt/AUTOUIC.rst
- Help/prop_tgt/AUTOUIC_OPTIONS.rst 17 additions, 0 deletionsHelp/prop_tgt/AUTOUIC_OPTIONS.rst
- Help/variable/CMAKE_AUTOUIC.rst 7 additions, 0 deletionsHelp/variable/CMAKE_AUTOUIC.rst
- Help/variable/CMAKE_AUTOUIC_OPTIONS.rst 7 additions, 0 deletionsHelp/variable/CMAKE_AUTOUIC_OPTIONS.rst
- Modules/AutogenInfo.cmake.in 5 additions, 0 deletionsModules/AutogenInfo.cmake.in
- Source/cmGlobalGenerator.cxx 3 additions, 1 deletionSource/cmGlobalGenerator.cxx
- Source/cmMakefile.cxx 12 additions, 0 deletionsSource/cmMakefile.cxx
- Source/cmMakefile.h 5 additions, 0 deletionsSource/cmMakefile.h
- Source/cmQtAutoGenerators.cxx 381 additions, 10 deletionsSource/cmQtAutoGenerators.cxx
- Source/cmQtAutoGenerators.h 24 additions, 3 deletionsSource/cmQtAutoGenerators.h
- Source/cmSourceFile.cxx 11 additions, 0 deletionsSource/cmSourceFile.cxx
- Source/cmTarget.cxx 2 additions, 0 deletionsSource/cmTarget.cxx
- Tests/QtAutogen/CMakeLists.txt 2 additions, 0 deletionsTests/QtAutogen/CMakeLists.txt
- Tests/QtAutogen/calwidget.cpp 3 additions, 0 deletionsTests/QtAutogen/calwidget.cpp
- Tests/QtAutogen/calwidget.h 7 additions, 0 deletionsTests/QtAutogen/calwidget.h
- Tests/QtAutogen/calwidget.ui 32 additions, 0 deletionsTests/QtAutogen/calwidget.ui
Loading
Please register or sign in to comment