fedoa14安装kscope-1.6.2

Kscope相当于windows下的Source Insight,系统自带的kscope报错打不开,还是自己动手丰衣足食。

http://download.chinaunix.net/download.php?id=28565&ResourceID=5469
下载解压后进入kscope-1.6.2目录,查看INSTALL安装说明安装如下:
1.   ./configure

问题:error: The important program kde-config was not found!
解决:yum install kdelibs3 kdelibs3-devel

问题:checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
解决:yum install qt3-devel

再次./configure
最终提示:Good - your configure finished. Start make now

2.   make
问题:/usr/bin/ld: cannot find -lkateinterfaces
解决:修改 src/Makefile 大约在482行
          kscope_LDADD = -lkateinterfaces -lktexteditor $(LIB_KDEUI)
          -lkateinterfaces 替换为/usr/lib/libkatepartinterfaces.la
3.   make install
    By default, `make install' will install the package's files in`/usr/local/bin', `/usr/local/man', etc.  You can specify an installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.

4.  make clean //如果你想卸载输入

当安装完成后,然后配置以下三个路径:
Cscope path:/usr/bin/cscope
Ctags path:/usr/bin/ctags
Dot path:/usr/bin/dot

关于中文乱码 Tools--->Encoding--->gb2312/gb18030等但要一个文件一个文件设不知哪里设全局的编码。

你可能感兴趣的:(windows,qt,Path)