Fix error handling for custom executables.
Prevent dialog showing "No executable" when canceling the prompt for the executable when pressing 'Run' / 'Debug' on a library project. Introduce new LocalApplicationRunControl::ensureConfigured() to ensure the configuration is complete and detect cancel via empty/non-null strings. Change-Id: I9bd4a296e7c995d26d6ad265519e7ebd3f98d6fe Reviewed-by:Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
Showing
- src/plugins/debugger/debuggerrunner.cpp 5 additions, 1 deletionsrc/plugins/debugger/debuggerrunner.cpp
- src/plugins/projectexplorer/localapplicationruncontrol.cpp 1 addition, 4 deletionssrc/plugins/projectexplorer/localapplicationruncontrol.cpp
- src/plugins/projectexplorer/projectexplorer.cpp 5 additions, 1 deletionsrc/plugins/projectexplorer/projectexplorer.cpp
- src/plugins/projectexplorer/runconfiguration.cpp 10 additions, 0 deletionssrc/plugins/projectexplorer/runconfiguration.cpp
- src/plugins/projectexplorer/runconfiguration.h 2 additions, 0 deletionssrc/plugins/projectexplorer/runconfiguration.h
- src/plugins/qtsupport/customexecutablerunconfiguration.cpp 101 additions, 43 deletionssrc/plugins/qtsupport/customexecutablerunconfiguration.cpp
- src/plugins/qtsupport/customexecutablerunconfiguration.h 3 additions, 0 deletionssrc/plugins/qtsupport/customexecutablerunconfiguration.h
Loading
Please register or sign in to comment