Prepare packaging for windows

This commit is contained in:
baydam
2018-04-08 21:30:03 +00:00
parent 8f3f68d678
commit 5c19385d1d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ MainApplication::MainApplication(int &argc, char *argv[])
QString pluginPath = QCoreApplication::applicationDirPath() + "/plugins";
QString libPath = QCoreApplication::applicationDirPath() + "/lib";
_putenv_s("GST_PLUGIN_PATH", pluginPath.toLocal8Bit());
_putenv_s("PATH", libPath.toLocal8Bit());
qputenv("GST_PLUGIN_SYSTEM_PATH_1_0", pluginPath.toLocal8Bit());
qputenv("PATH", libPath.toLocal8Bit());
// Set settings default format
QSettings::setDefaultFormat(QSettings::IniFormat);
+1 -1
View File
@@ -55,7 +55,7 @@ macx {
# Windows-specific:
win32 {
DEFINES += WIN32
TARGET = MapMap
TARGET = ../../../MapMap/MapMap # Just for release
GST_HOME = $$quote($$(GSTREAMER_1_0_ROOT_X86))
isEmpty(GST_HOME) {
message(\"GSTREAMER_1_0_ROOT_X86\" not detected ...)