Customwizard: Add a simple preprocessor.
Allowing for nesting sections depending on Javascript expression using
the (expanded) wizard field variables as in:
-- test.pro.template:
QT = core
@if "%NETWORK_CHECKBOX%" == "true"
QT += network
@endif
Rubber-stamped-by:
Alessandro Portale <alessandro.portale@nokia.com>
Showing
- share/qtcreator/templates/wizards/helloworld/project.pro 3 additions, 1 deletionshare/qtcreator/templates/wizards/helloworld/project.pro
- share/qtcreator/templates/wizards/helloworld/wizard_sample.xml 7 additions, 1 deletion.../qtcreator/templates/wizards/helloworld/wizard_sample.xml
- src/plugins/projectexplorer/customwizard/customwizard.cpp 3 additions, 4 deletionssrc/plugins/projectexplorer/customwizard/customwizard.cpp
- src/plugins/projectexplorer/customwizard/customwizard.pri 4 additions, 2 deletionssrc/plugins/projectexplorer/customwizard/customwizard.pri
- src/plugins/projectexplorer/customwizard/customwizardparameters.cpp 20 additions, 0 deletions...s/projectexplorer/customwizard/customwizardparameters.cpp
- src/plugins/projectexplorer/customwizard/customwizardparameters.h 1 addition, 0 deletions...ins/projectexplorer/customwizard/customwizardparameters.h
- src/plugins/projectexplorer/customwizard/customwizardpreprocessor.cpp 268 additions, 0 deletions...projectexplorer/customwizard/customwizardpreprocessor.cpp
- src/plugins/projectexplorer/customwizard/customwizardpreprocessor.h 58 additions, 0 deletions...s/projectexplorer/customwizard/customwizardpreprocessor.h
Loading
Please register or sign in to comment