fix for broken CMakeOutputWidget (2.1.2cvs)
Kuba Ober
kuba at mareimbrium.org
Wed Jun 12 15:51:02 UTC 2002
On wtorek 11 czerwiec 2002 07:48 pm, falk.brettschneider at gmx.de wrote:
> // TODO: set working directory of process, how to do?
I assume it can be done the same way as it was done in the lines above it for
standard project: try this (I don't have kde2, so I can't compile it):
#if QT_VERSION < 300
QDir::setCurrent(cwd);
#else
process.setWorkingDirectory(cwd);
#endif
I imagine this should work all right. Not that changing the current wd of
kdevelop process just for the sake of executing make properly is OK. It is a
kludge only needed for kde 2.
BTW: were you able to reproduce the problems with single-file compilation?
BTW2: try this:
- start a fresh kdevelop
- make an empty custom project,
- add one class to it (or just a single .c / .cpp file)
- add a simple Makefile by hand in both main project dir, and in source subdir
- try clicking on build or rebuild -- does it complain about missing Makefile?
It does in my case, so that's broken as well. Will have to investigate.
Cheers, Kuba Ober
More information about the KDevelop-devel
mailing list