Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Creator hangs in Ubuntu Virtualbox

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?

like image 515
gumlym Avatar asked Feb 04 '15 15:02

gumlym


People also ask

Why does my Ubuntu VM keep freezing?

Ubuntu may freeze inside VirtualBox due to different reasons like lacking sufficient RAM, storage spaces, or even CPU. If you don't want your operating system to stutter, check for the following issues and try to nullify their effects.

Does Qt work on Ubuntu?

"As well as using Qt to underpin Ubuntu's display framework, Qt is an integral part of Ubuntu's offering for developers who create mobile and desktop applications for Ubuntu devices.

What is VirtualBox QT in Ubuntu?

VirtualBox is a free x86 virtualization solution allowing a wide range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a Linux system. x86 virtualization solution - Qt based user interface.


1 Answers

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.

like image 67
jonie83 Avatar answered Oct 26 '22 07:10

jonie83