QT Creator hangs on opening a file or project
-
@dashthird
Hi
for test could you try to uninstall it ? -
@dashthird
reboot
Then just try to run Creator.
(i pray for a bit of luck) -
To add to @mrjj, in case the uninstallation of AVG didn't help, there's one more thing you could try, start a CMD window, type set path= to clear the path and then in that same CMD try start Qt Creator manually, eg:
set path= C:\qt\tools\qtcreator\bin\qtcreator.exe
If you can Browse for project folder location now, then there's something spooky in your path settings. However, when starting Qt Creator this way, you will most likely not be able to compile from inside Qt Creator :-(
-
@hskoglund Even after disconnecting from the internet, the issue is same
@hskoglund @mrjj Please find the video link attached
-
@dashthird
so even with new user, and Qt install on C:
it still does it ?
(OMG) -
I had tried 2 approaches:
created a new user "test"-
in new user, simply tried opening QT Creator of E:(installed by old user) & then "File->Open project/file"
Still the same issue -
in old user, deleted the QT from E:
in new user, installed QT at C: & then "File->Open project/file"
Still the same issue
@hskoglund
Would try your latest CMD method & would let you know the output -
-
So most likely some Qt Creator plugin is the culprit.
To find which one(s), start Qt Creator (you can start it normally), open the Help\About Plugins dialog box.Try deselecting (making the plugin not Load) some of the plugins, try first with all the plugins listed under Utilities. Then exit Qt Creator, start it again and try Open File or Project and see if it hangs. If it still hangs, try deselecting more plugins. If it does not hang, then try selecting a few plugins to see which one is the bad boy :-)
-
@JonB QT_DEBUG_PLUGINS will cause qDebug() outputs from the likes of qpluginloader.cpp and qlibrary.cpp but a normal plugin I think is an ignoramus re. that env. variable.
But having a dbgview running before trying that Open File or Project hanging stunt can be a good idea, since there might be a qWarning issued in there somewhere...
-
@hskoglund
The culprit is the "Welcome" plugin (of "QT Creator" section)
On disabling that, I am now able to do "File->Open file/project" :-)Now the starting QT UI seems a lot similar like the
QT SDK 1.2.1
(maintained by Nokia), which I was using before upgradation to QT 5+ version.Thanks a lot!!!
I can finally start coding in C++ now :)One last question: Is there any alternate way to enable the functionality of that "Welcome" plugin ?