Important: Please read the Qt Code of Conduct -

Qt Creator hangs on startup

  • Hello

    I have installed the Qt 5.1.1 for windows 32 bit with MinGW 4.8 with opengl on Windows machine.
    The installation was done from administrator account.

    From administrator account I can start Qt Creator without any problems, but on user account, Qt Creator hangs just after it starts.
    I can see on bottom right the information "Registering defi...", but the whole window of Qt Creator is not responding and I don't see any machine operation like disk usage, eth usage, etc (I use VirtualBox for testing, but it also happens on real computer).
    The Qt Creator hangs for quite some time, and then is suddenly gets back to normal, but each new start of Qt Creator will makes it hangs.

    Is there a way to fix the problem?

  • I can say that the hangs last for about 20 min, if not exactly 20 min.
    Installation from user account additional Qt instance in different directory, when Qt from admin account is still installed yields the same result.

  • welcome to devnet

    Which windows are you using?
    Did you try to give the user account admin rights?

  • I test it on XP and W7.
    The problem is that user account should not have admin rights. Starting Qt Creator as admin account is not the solution too (I will have to type the admin pass every time on startup on every computer - bad idea)

  • In general security reasons are the cause to use accounts without admin rights. However, the question is if the problem stems from using Qt sdk from another account or if the actual reason is that there are no admin rights.
    Therefore, you have installed with admin rights from one account. You cannot use from another account. Give this other account admin rights. If the problem goes away, we know that the missing admin rights are causing the problem.

  • I'm quite sure the problem is with admin rights - see 2nd post in this thread (installing from non admin right account of course gave me some permission errors/warnings, but the installation finished). But the question is: why no admin rights user has this problem, and is there a way to fix it.
    I assumed that Qt Creator should work like a charm when used from non admin account (it works on Linux) ;)

  • Well, than probably you need to wait for someone being involved in Qt creator development to reply.

  • Dirty hack for the time being:
    @C:\WINDOWS\system32\runas.exe /user:someadmin /savecred c:\Qt\Qt5.1.1\Tools\QtCreator\bin\qtcreator.exe@
    Type the password and forget...

Log in to reply