Store settings in INI file instead system registry on Windows

This commit is contained in:
baydam
2016-06-17 15:43:48 +01:00
parent 05e2629316
commit c9b2e6df0c
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -32,6 +32,9 @@ MainApplication::MainApplication(int &argc, char *argv[])
_putenv_s("GST_PLUGIN_PATH", pluginPath.toLocal8Bit());
_putenv_s("PATH", libPath.toLocal8Bit());
// Set settings default format
QSettings::setDefaultFormat(QSettings::IniFormat);
#endif
// Initialize GStreamer.
+1 -1
View File
@@ -25,7 +25,7 @@
#include <QApplication>
#include <QDebug>
#include "MM.h"
#include "PreferencesDialog.h"
#include <QSettings>
MM_BEGIN_NAMESPACE
+1 -1
View File
@@ -187,7 +187,7 @@ win32 {
else {
message(\"GSTREAMER_1_0_ROOT_X86\" detected in \"$${GST_HOME}\")
}
# DESTDIR = ../../Mapmap # Just for packaging
DESTDIR = ../../Mapmap # Just for packaging
INCLUDEPATH += $${GST_HOME}/lib/gstreamer-1.0/include \
$${GST_HOME}/include/glib-2.0 \