In my .cpp I'm using QSettings.
This worked before, in Qt 4.8:
#include <QSettings>
----------
QSettings settings;
settings.setValue("time_axis_direction", 1);
int test_var = settings.value("time_axis_direction").toInt();
----------
In test_var
the program returns 0, what's the cause?
I used Qt with VS Add-In.
QSettings::sync()
between writing and reading the value. – Ballman