What steps will reproduce the problem?
1. Install qdevelop on mac osx 10.4
2. Run qdevelop
3. try to initialize ctags in the startup dialog
What is the expected output? What do you see instead?
ctags does not get initialized properly on mac osx because the version
installed in /usr/bin/ctags is so old that it doesn't support the --version
flag.
What version of the product are you using? On what operating system?
0.22-svn on mac osx 10.4
Please provide any additional information below.
Installing ctags from source into /usr/local/bin solved the problem.
The following code in toolscontrolimpl.cpp needs to find another way to
check the version other than appending "--version" to the ctags command
(the debugger reveals that lu is null, even though /usr/bin/ctags exists:
// ctags control
QProcess *testCtags = new QProcess(this);
testCtags->start(ctags->text()+" --version");
testCtags->waitForFinished(5000);
lu = testCtags->readAll();
m_ctagsIsPresent = true;
if( lu.isEmpty() )
{
qDebug() << "dog";
m_ctagsIsPresent = false;
ctagsIcon->setPixmap( QPixmap(":/divers/images/nogood.png") );
result = false;
}
testCtags->waitForFinished(5000);
testCtags->terminate();
Original issue reported on code.google.com by davidthe...@gmail.com on 24 Jan 2007 at 9:36
Original issue reported on code.google.com by
davidthe...@gmail.com
on 24 Jan 2007 at 9:36