Hi
my .ini file is
[System.Setting]
auto_check_update=false
auto_check_mode=weekly
& the code to read is
QString strKey("System.Setting/");
QSettings * settings = 0;
settings = new QSettings( file_path, QSettings::IniFormat );
QString strMode = settings->value( strKey + "auto_check_mode", "r").toString();
no problem with the code compiling & running. when i try to print strMode program is unexpectedly finising.. this is happening with QString, Date (Derived data types). but fine with basic data types like int, float, bool...
using printf to print the values. qDebug is not working in this project. what could be the problem?
Bookmarks