完整&完全卸载QT Creator [英] Full & complete uninstall QT Creator

查看:2337
本文介绍了完整&完全卸载QT Creator的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:

如何从Linux计算机上卸载QT Creator?

我在Debian Jessie机器上的安装损坏.我尝试重新安装,修复等,但是没有运气.建议我完全卸载,获取最新版本然后重新安装.

I have a corrupted install on a Debian Jessie machine. I have tried reinstalling, fixing, etc. and with no luck. I was advised to uninstall completely, grab the newest version and reinstall.

问题是我不确定如何执行此操作,并且每次尝试时,QT都会一直返回相同的确切问题,我假设是因为某些配置文件在删除过程中没有被删除

The problem is that I'm not sure how to do this and every time I try, QT keeps coming back with the same exact issues, I'm assuming because of some config files that are not getting deleted in the removal process.

运行qmake --version给我这个输出:

QMake version 3.0
Using Qt version 5.6.2 in /home/greg/anaconda2/lib

运行pkg-config --modversion QtCore给我以下输出:

Package QtCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'QtCore' found

问题是我已经在不同的文件夹中安装了多个版本,并且我想重新开始安装全新的QT Creator.昨天通过QT维护工具安装了5.10版,但由于某些原因无法运行.我只需要删除它并重新开始. QT 5.9.3和5.10安装在/home/greg上,您可以看到我的anaconda2文件夹中安装了5.6.2.不知道这是怎么发生的.我还是个新手,所以还在学习.

The problem is that I've got several versions installed, in different folders and I want to completely start over with a fresh install of QT Creator. Version 5.10 was installed yesterday via the QT maintenence tool, but for some reason won't run. I just need to remove it and start over. QT 5.9.3 and 5.10 are installed at /home/greg and you can see 5.6.2 is installed in my anaconda2 folder. Not sure how this happened. I'm still a newb so still learning.

我如何在不删除其他QT文件(例如KDE依赖项等)的情况下完全/完全卸载和删除所有QT创建器文件,以便可以使用新的配置设置进行全新安装? ??

推荐答案

Qt Creator ~/.config/QtProject/中创建一些配置文件和子目录(也请检查~/.config/Nokia/),这些文件和子目录没有清理通过删除软件包(通常,主目录中的所有个人设置都是这种情况).如果您的诊断正确,并且不是系统或设置的更一般性问题,则手动删除它们应该可以解决该问题.

Qt Creator creates some configuration files and subdirs in ~/.config/QtProject/ (also check ~/.config/Nokia/), which aren't cleaned up by removing the package (in general that's the case with all personal settings in your home directory). Removing them manually should solve that issue, if your diagnosis is right and it's not a more general problem of your system or setup.

这篇关于完整&完全卸载QT Creator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆