[rkward-cvs] SF.net SVN: rkward-code:[4649] branches/release_branches/rkward_0.6.1/ rkward/wrapper/rkward_startup_wrapper.cpp

tfry at users.sf.net tfry at users.sf.net
Sun Mar 31 16:44:25 UTC 2013


Revision: 4649
          http://sourceforge.net/p/rkward/code/4649
Author:   tfry
Date:     2013-03-31 16:44:24 +0000 (Sun, 31 Mar 2013)
Log Message:
-----------
Two small hotfixes for the binary wrapper.

Modified Paths:
--------------
    branches/release_branches/rkward_0.6.1/rkward/wrapper/rkward_startup_wrapper.cpp

Modified: branches/release_branches/rkward_0.6.1/rkward/wrapper/rkward_startup_wrapper.cpp
===================================================================
--- branches/release_branches/rkward_0.6.1/rkward/wrapper/rkward_startup_wrapper.cpp	2013-03-31 12:26:12 UTC (rev 4648)
+++ branches/release_branches/rkward_0.6.1/rkward/wrapper/rkward_startup_wrapper.cpp	2013-03-31 16:44:24 UTC (rev 4649)
@@ -73,6 +73,7 @@
 		kde_dir.makeAbsolute ();
 #ifdef Q_WS_WIN
 		kdeinit4_exe = findExeAtPath ("kdeinit4", kde_dir.path ());
+		qputenv ("PATH", QString (kde_dir.path () + ":" + qgetenv ("PATH")).toLocal8Bit ());
 #endif
 		// important if RKWard is not in KDEPREFIX/bin but e.g. KDEPREFIX/lib/libexec
 		qputenv ("RKWARD_ENSURE_PREFIX", kde_dir.path().toLocal8Bit ());
@@ -156,6 +157,7 @@
 		}
 	}
 
+	qputenv ("R_BINARY", r_exe.toLocal8Bit ());
 	QStringList call_args ("CMD");
 	if (!debugger_arg.isNull ()) call_args.append (debugger_arg);
 	call_args.append (rkward_frontend_exe);





More information about the rkward-tracker mailing list