brixel
16th November 2015, 13:31
I've been searching for an answer for a bit this morning and finding lots of stuff on QSettings, but nothing to help me with this particular issue. In debug using QT Creator QSettings can locate my ini file just find, but in release mode it can no longer locate this file.
I've tried various locations ( where it should be looking for it ) but still no luck. I'm sure I'm just missing something simple as I'm very new to QT, so any help would be appreciated.
I'm just looking to pick up the file from the root of the application like this:
QSettings settings( "mysettings.ini", QSettings::IniFormat );
I'm currently trying to get this to work on OSX and will also need to handle Windows as well. Thanks.
I've tried various locations ( where it should be looking for it ) but still no luck. I'm sure I'm just missing something simple as I'm very new to QT, so any help would be appreciated.
I'm just looking to pick up the file from the root of the application like this:
QSettings settings( "mysettings.ini", QSettings::IniFormat );
I'm currently trying to get this to work on OSX and will also need to handle Windows as well. Thanks.