summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.h
Commit message (Collapse)AuthorAgeFilesLines
* cmStandardIncludes: Remove list include.Stephen Kelly2015-02-061-0/+2
| | | | Include it only where used.
* QtAutogen: Regenerate qrc files if their input changes (#15074)Stephen Kelly2014-10-241-0/+10
| | | | | | | | | | | | | | | | | Get dependencies from the output of ``rcc --list`` if using Qt 5. Otherwise process the file in the same way as the qt4_add_resources macro. This does not work for RCC files which are generated. The cmake_autogen build step is implemented as a PRE_BUILD step of the target currently if possible, rather than a standalone custom target. This is to keep the number of (synthesized) custom targets that appear in the UI low, but in some cases it is necessary to fall back to a full custom target. Fall back to a full custom target for the VS builds if autorcc is used.
* QtAutogen: Expand rccfiles into a vector early in the autogen process.Stephen Kelly2014-10-231-1/+1
| | | | This can be re-used as a vector.
* QtAutogen: Extract a GetRccExecutable method.Stephen Kelly2014-10-231-0/+2
|
* Merge topic 'autogen-fixes'Brad King2014-09-221-12/+12
|\ | | | | | | | | | | e3c97a19 QtAutogen: Process all ui files in a source file (#14981). b8877b1d QtAutogen: Add source files to target when only AUTORCC is used.
| * QtAutogen: Process all ui files in a source file (#14981).Stephen Kelly2014-09-181-12/+12
| | | | | | | | | | Use a vector to store a list of matched ui_ includes, instead of overwriting the previous match.
* | QtAutogen: Put generated qrc files in a target-specific dir.Stephen Kelly2014-04-181-0/+1
| |
* | Merge topic 'fix-Qt-Autogen'Brad King2014-03-261-1/+1
|\ \ | |/ | | | | | | | | 71a11252 QtAutogen: Fix use of multiple ui files in a single target. 261acd91 QtAutogen: Use the basename for resource files.
| * QtAutogen: Fix use of multiple ui files in a single target.Stephen Kelly2014-03-251-1/+1
| | | | | | | | | | | | Don't store a mapping of the directory to the ui file. The directory will be a unique key, allowing only one ui file to be specified. Use the source file name instead as the mapping key.
* | stringapi: Use strings for directoriesBen Boeckel2014-03-081-4/+4
| |
* | stringapi: Pass configuration names as stringsBen Boeckel2014-03-081-2/+2
|/
* QtAutogen: Make uic work even when the source is in a subdir.Stephen Kelly2014-02-041-6/+6
| | | | | | Modify the includedUis to store the path to the file which includes the ui file. Reuse that path to generate the output file from the uic process.
* QtAutogen: Separate source file processing from AUTOMOC.Stephen Kelly2014-01-281-1/+1
| | | | This will allow using AUTOUIC without using AUTOMOC for example.
* QtAutogen: Make some methods appropriately file-static.Stephen Kelly2014-01-281-4/+0
|
* Constify autogen handling.Stephen Kelly2013-12-111-4/+4
|
* Autogen: Split AutoRcc handling into two methodsStephen Kelly2013-12-111-0/+1
| | | | | The initialize method changes the target, whereas the setup method does not.
* QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property.Stephen Kelly2013-11-271-1/+2
| | | | | | | | | | | | | | | | | | | | Transitively consume the property from linked dependents. Implement configuration-specific support by following the pattern set out for compile definitions and includes in cmQtAutoGenerators. Implement support for origin-tracking with CMAKE_DEBUG_TARGET_PROPERTIES. This is motivated by the needs of KDE, which provides a separate translation system based on gettext instead of the Qt linguist translation system. The Qt uic tool provides command line options for configuring the method used to translate text, and to add an include directive to the generated file to provide the method. http://thread.gmane.org/gmane.comp.kde.devel.frameworks/7930/focus=7992 Implement the interface to provide the uic options as a usage-requirement on the KI18n target, as designed for KDE.
* cmAutogen: Rename method to InitializeAutogenTargetStephen Kelly2013-11-051-1/+1
| | | | This reflects better what it is doing.
* Add automatic rcc invocation for Qt.Stephen Kelly2013-10-241-0/+9
| | | | | This replaces the need to invoke qt4_add_resources by allowing adding the source .qrc file directly to the target sources.
* Add automatic uic invocation for Qt.Stephen Kelly2013-10-241-3/+24
| | | | | | | | | | | | 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.
* Rename RunAutomoc to RunAutogen.Stephen Kelly2013-10-241-1/+1
| | | | It will soon be used to process ui and rcc files too.
* Extract an SetupAutoMocTarget method.Stephen Kelly2013-10-241-0/+5
| | | | This class will soon gain methods for autouic and autorcc.
* Rename method to reflect generic use.Stephen Kelly2013-10-241-1/+1
|
* Rename the cmQtAutomoc class to cmQtAutoGenerators.Stephen Kelly2013-10-241-0/+96
It will be extended to process .ui and .qrc files too.