Generalize support for extra compilers
Allow for different extra compilers which may get called to generate
additional code for the code model. The build system is expected to
know what files are generated from which source file and the extra
compilers know how to generate the content of those files, without
touching the build directory. the uic adapter is refactored to be
the first such extra compiler.
The extra compiler is run when an editor for its source document
loses focus, or after a timeout of 1s when the source document has
been changed.
Change-Id: I13c110c61120c812f02639a3684144daf8979b37
Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
Showing
- src/plugins/cmakeprojectmanager/cmakeproject.cpp 43 additions, 20 deletionssrc/plugins/cmakeprojectmanager/cmakeproject.cpp
- src/plugins/cmakeprojectmanager/cmakeproject.h 4 additions, 2 deletionssrc/plugins/cmakeprojectmanager/cmakeproject.h
- src/plugins/cpptools/abstracteditorsupport.cpp 8 additions, 2 deletionssrc/plugins/cpptools/abstracteditorsupport.cpp
- src/plugins/cpptools/abstracteditorsupport.h 2 additions, 1 deletionsrc/plugins/cpptools/abstracteditorsupport.h
- src/plugins/cpptools/cpptools.pro 2 additions, 0 deletionssrc/plugins/cpptools/cpptools.pro
- src/plugins/cpptools/cpptools.qbs 1 addition, 0 deletionssrc/plugins/cpptools/cpptools.qbs
- src/plugins/cpptools/generatedcodemodelsupport.cpp 130 additions, 0 deletionssrc/plugins/cpptools/generatedcodemodelsupport.cpp
- src/plugins/cpptools/generatedcodemodelsupport.h 67 additions, 0 deletionssrc/plugins/cpptools/generatedcodemodelsupport.h
- src/plugins/designer/codemodelhelpers.cpp 3 additions, 1 deletionsrc/plugins/designer/codemodelhelpers.cpp
- src/plugins/projectexplorer/extracompiler.cpp 321 additions, 0 deletionssrc/plugins/projectexplorer/extracompiler.cpp
- src/plugins/projectexplorer/extracompiler.h 94 additions, 0 deletionssrc/plugins/projectexplorer/extracompiler.h
- src/plugins/projectexplorer/project.cpp 3 additions, 2 deletionssrc/plugins/projectexplorer/project.cpp
- src/plugins/projectexplorer/project.h 1 addition, 2 deletionssrc/plugins/projectexplorer/project.h
- src/plugins/projectexplorer/projectexplorer.pro 4 additions, 2 deletionssrc/plugins/projectexplorer/projectexplorer.pro
- src/plugins/projectexplorer/projectexplorer.qbs 1 addition, 0 deletionssrc/plugins/projectexplorer/projectexplorer.qbs
- src/plugins/qbsprojectmanager/qbsproject.cpp 28 additions, 9 deletionssrc/plugins/qbsprojectmanager/qbsproject.cpp
- src/plugins/qbsprojectmanager/qbsproject.h 2 additions, 0 deletionssrc/plugins/qbsprojectmanager/qbsproject.h
- src/plugins/qmakeprojectmanager/qmakenodes.cpp 68 additions, 46 deletionssrc/plugins/qmakeprojectmanager/qmakenodes.cpp
- src/plugins/qmakeprojectmanager/qmakenodes.h 6 additions, 9 deletionssrc/plugins/qmakeprojectmanager/qmakenodes.h
- src/plugins/qmakeprojectmanager/qmakeproject.cpp 67 additions, 41 deletionssrc/plugins/qmakeprojectmanager/qmakeproject.cpp
Loading
Please register or sign in to comment