make cwd [PATCH]
Roland Krause
rokrau at yahoo.com
Thu Jul 18 20:25:38 BST 2002
Applied,
Roland
--- Kuba Ober <kuba at mareimbrium.org> wrote:
> Should be self-explanatory. I think that's the only way in QT<300,
> and that's
> how it's done all around in make invocations there.
>
> Cheers, Kuba Ober
>
> --- kdevelop/kdevelop/ckdevelop.cpp Tue Jun 25 10:59:59 2002
> +++ kdevelop/kdevelop/ckdevelop.cpp Tue Jul 2 17:41:35 2002
> @@ -1025,11 +1025,11 @@
> cwd = QDir(cwd).absPath();
> // Invoke make with proper options
> debug("run: %s in: %s", make_cmd.data(), cwd.data());
> -#if QT_VERSION < 300
> - // TODO: set working directory of process, how to do?
> -#else
> + #if QT_VERSION < 300
> + QDir::setCurrent(cwd);
> + #else
> process.setWorkingDirectory(cwd);
> -#endif
> + #endif
> process << make_cmd;
> QString makeOptions = prj->getMakeOptions();
> if (gotMakefile &&> --- kdevelop/kdevelop/ckdevelop.cpp Tue Jun
25 10:59:59 2002
> +++ kdevelop/kdevelop/ckdevelop.cpp Tue Jul 2 17:41:35 2002
> @@ -1025,11 +1025,11 @@
> cwd = QDir(cwd).absPath();
> // Invoke make with proper options
> debug("run: %s in: %s", make_cmd.data(), cwd.data());
> -#if QT_VERSION < 300
> - // TODO: set working directory of process, how to do?
> -#else
> + #if QT_VERSION < 300
> + QDir::setCurrent(cwd);
> + #else
> process.setWorkingDirectory(cwd);
> -#endif
> + #endif
> process << make_cmd;
> QString makeOptions = prj->getMakeOptions();
> if (gotMakefile &&
>
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list