10

I have a very weird problem. Ive got a an Ubuntu 14.04 running on VirtualBox 4.3.20 r96997. I installed QT Creator a while back and was working with it fine until today. Now when I try to start it, the screen is completely unresponsive, and it endes up freezing (just the QT Creator screen, ubuntu keeps working fine)

I have read in a couple of places that this could be because the welcome mode doesnt play nice with virtualbox 3d hardware acceleration:

Why does Qt Creator 3.0.0 Welcome Mode not work in VM?

http://qt-project.org/forums/viewthread/37412

But im starting ubuntu with the 3d hardware acceleration disabled, and Ive also tried starting it direcly from the terminal by going to the install folder and doing:

./qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler

But it also freezes. And the weird thing is that it worked yesterday, and I havent installed any updates or changed the system, it just appears to have stopped working. Any suggestions?

Community
  • 1
  • 1
gmm
  • 943
  • 1
  • 17
  • 30

2 Answers2

8

In the ~/.config/QtProject folder is a lock file (QtCreator.ini.lock). This is the reason why QtCreator freezes. By removing only this file QtCreator will not freeze any more and all the configurations / settings are still there.

jonie83
  • 1,136
  • 2
  • 17
  • 28
6

Posting my comment as an answer, since OP confirmed it works.

Delete the configuration directory for QtCreator - it's somewhere in ~/.config/

Community
  • 1
  • 1
sashoalm
  • 75,001
  • 122
  • 434
  • 781
  • Hi sashoalm, this is a pretty old thread, but I wanted to ask what directory you have deleted exactly. Is it the /home/XYZUser/.config/QtProject/qtcreator? Did you delete the whole folder or is there a configuration file that has to be deleted? – FrozenTarzan Nov 06 '15 at 09:09
  • 1
    @FrozenTarzan See https://stackoverflow.com/questions/6742663/where-does-qtcreator-save-its-settings, the section about Linux. They say "On Linux and other Unix platforms, the files are located in ~/.config/QtProject and ~/.local/share/data/QtProject/qtcreator". Also, better rename them than delete so you can at least recover your settings them in case it doesn't work. – sashoalm Nov 06 '15 at 09:38