"Can't access /root " error while running qt creator
I installed qt creator while running the installer as root. After installation i let the qt creator check box remain checked and closed. But now when I try to run it as normal user it throws a error in a window like "Can't access /root". I tried deleting whole older from /opt directory and ".config/QtCreator" from /root directory and reinstalled it keeping in mind that this time not to run it as root. However it still is giving the same error.
What i should do so that this error stop coming in. Also if after running it as root you can't run it as normal use why is it in first place is allowed to run as root. There are other ide's which can run both as root and normal user but don't throw up error like this. Why qt creator can't achieve the same feat?