File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed
Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<!DOCTYPE QtCreatorProject >
3- <!-- Written by QtCreator 5.0.2, 2022-09-23T18:21:44 . -->
3+ <!-- Written by QtCreator 5.0.2, 2022-10-14T15:01:22 . -->
44<qtcreator >
55 <data >
66 <variable >EnvironmentId</variable >
9494 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.DefaultDisplayName" >Desktop Qt 5.12.12 MinGW 64-bit</value >
9595 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.DisplayName" >Desktop Qt 5.12.12 MinGW 64-bit</value >
9696 <value type =" QString" key =" ProjectExplorer.ProjectConfiguration.Id" >qt.qt5.51212.win64_mingw73_kit</value >
97- <value type =" int" key =" ProjectExplorer.Target.ActiveBuildConfiguration" >1 </value >
97+ <value type =" int" key =" ProjectExplorer.Target.ActiveBuildConfiguration" >0 </value >
9898 <value type =" int" key =" ProjectExplorer.Target.ActiveDeployConfiguration" >0</value >
9999 <value type =" int" key =" ProjectExplorer.Target.ActiveRunConfiguration" >0</value >
100100 <valuemap type =" QVariantMap" key =" ProjectExplorer.Target.BuildConfiguration.0" >
244244 <value type =" bool" key =" RunConfiguration.UseLibrarySearchPath" >true</value >
245245 <value type =" bool" key =" RunConfiguration.UseQmlDebugger" >false</value >
246246 <value type =" bool" key =" RunConfiguration.UseQmlDebuggerAuto" >true</value >
247- <value type =" QString" key =" RunConfiguration.WorkingDirectory.default" >C:/Users/94184/Desktop/QT/build-RTduino-Desktop_Qt_5_12_12_MinGW_64_bit-Release </value >
247+ <value type =" QString" key =" RunConfiguration.WorkingDirectory.default" >C:/Users/94184/Desktop/QT/build-RTduino-Desktop_Qt_5_12_12_MinGW_64_bit-Debug </value >
248248 </valuemap >
249249 <value type =" int" key =" ProjectExplorer.Target.RunConfigurationCount" >1</value >
250250 </valuemap >
Original file line number Diff line number Diff line change @@ -258,16 +258,19 @@ void Widget::write_data_to_kconfig()
258258 break ;
259259 }
260260 };
261- foreach ( auto i, varlist)
261+ if (! varlist. isEmpty () )
262262 {
263- out << i;
263+ foreach (auto i,varlist)
264+ {
265+ out << i;
266+ }
267+ if (varlist.at (pwmindex) == " select BSP_USING_PWM\n " )
268+ out << " imply RTDUINO_USING_SERVO\n " ;
269+ if (ui->i2cdevbox ->currentText () != " NULL" )
270+ out << " imply RTDUINO_USING_WIRE\n " ;
271+ if (ui->spidevbox ->currentText () != " NULL" )
272+ out << " imply RTDUINO_USING_SPI\n " ;
264273 }
265- if (varlist.at (pwmindex) == " select BSP_USING_PWM\n " )
266- out << " imply RTDUINO_USING_SERVO\n " ;
267- if (ui->i2cdevbox ->currentText () != " NULL" )
268- out << " imply RTDUINO_USING_WIRE\n " ;
269- if (ui->spidevbox ->currentText () != " NULL" )
270- out << " imply RTDUINO_USING_SPI\n " ;
271274 out << " default n" ;
272275}
273276
You can’t perform that action at this time.
0 commit comments