<div dir="ltr">Hi All,<div><br></div><div>I am porting LabPlot app. I am getting the following error along with Ok, Apply, Cancel ans Default not in scope error as well. for that i used QDialogButtonBox::Ok. This solved problem for Ok, Apply and Cancel but not for Default. Can anyone help me with this.<div><br></div><div><div>/home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:54: error: 'setButtons' was not declared in this scope</div><div>     setButtons(Ok | Apply | Cancel | Default);</div><div>                                             ^</div><div><br></div><div>/home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:55: error: 'setDefaultButton' was not declared in this scope</div><div>     setDefaultButton(Ok);</div><div>                        ^</div><div><br></div><div>/home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:55: error: 'setDefaultButton' was not declared in this scope</div><div>     setDefaultButton(Ok);</div><div>                        ^</div></div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8000001907349px">Cheers</span>,<br>Garvit Khatri</div></div></div></div></div></div></div>
</div></div></div>