QSettings is not working properly when update the value in the inifile at run time
Unsolved
General and Desktop
-
I am using QSettings to read the value from the ini file.
I am using following code to read the valuem_cameraConfigSettings->value("GeneralMode/autoexposureenable",readError);
At first time application is launched it read the value correctly. But When application is running, changed the value in the inifile, and again read the value, the current value having the old value only.
Any one give the solution for the problem.Thanks
-
@dhu0504 Did you actually try to call https://doc.qt.io/qt-5/qsettings.html#sync as @mranger90 already suggested?
-
This post is deleted!