PDA

View Full Version : system hanged when started app debugging with qt5.2



av2306
23rd January 2014, 06:17
Hi all,

I had Qt 5.1. Recently I installed Qt 5.2 in different location on my ubuntu 12.04. It was fine with Qt 5.1. When I start debugging my application with Qt 5.2, system gets hand. system is not responding for mouse/keyboard. I have to turn off my machine. What is the solution for this?

Thanks.

av.

saman_artorious
6th February 2014, 10:31
I think there might be a problem with the QTDIR environment variable pointing to the 5.2 installation.

You could create two batch files like this (might have to add full path to qtcreator.exe):

qtcreator510.bat:


set QTDIR=C:\Qt\5.1.0
start qtcreator.exe

qtcreator520.bat:


set QTDIR=C:\Qt\5.2.0
start qtcreator.exe

and place them e.g. on your desktop. Then always start QtCreator via the batch files for the configuration you want.

Side node: There are sometimes problems when having two QtCreator instances up at the same time, e.g. the second instance cannot write to the console.