Full & complete uninstall QT Creator

女生的网名这么多〃 提交于 2019-12-10 20:52:06

问题


Question:

How to uninstall QT Creator from Linux machine?

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.

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.

Running qmake --version gives me this output:

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

Running pkg-config --modversion QtCore gives me this output:

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

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.

How can I do a complete/full uninstall and removal of ALL QT creator files without deleting other QT files, such as KDE dependencies, etc., so that I can do a fresh install with new config settings????


回答1:


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.



来源:https://stackoverflow.com/questions/48013034/full-complete-uninstall-qt-creator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!