QT Creator starts very slow
-
I've been having the slow-loading problem as well. Qt Designer takes on the order of minutes to load. I'm not using the latest versions of Qt software, because the latest versions were incompatible with my system. I used the latest versions that all played well together.
- Qt 5.4.0
- Windows 7
- Visual Studio 2012, Update 4
- Qt Visual Studio add-in 1.2.2
-
[quote author="CueTeeDuntz" date="1424377109"]I've been having the slow-loading problem as well. Qt Designer takes on the order of minutes to load. I'm not using the latest versions of Qt software, because the latest versions were incompatible with my system. I used the latest versions that all played well together.
- Qt 5.4.0
- Windows 7
- Visual Studio 2012, Update 4
- Qt Visual Studio add-in 1.2.2[/quote]Hi, and welcome to the Qt Dev Net!
Does disabling your antivirus help?
-
[quote author="CueTeeDuntz" date="1424377109"]I've been having the slow-loading problem as well. Qt Designer takes on the order of minutes to load. I'm not using the latest versions of Qt software, because the latest versions were incompatible with my system. I used the latest versions that all played well together.
- Qt 5.4.0
- Windows 7
- Visual Studio 2012, Update 4
- Qt Visual Studio add-in 1.2.2[/quote]Hi, and welcome to the Qt Dev Net!
Does disabling your antivirus help?
-
I have no antivirus software, and Windows "Defender" is disabled.
-
I have no antivirus software, and Windows "Defender" is disabled.
-
[quote author="CueTeeDuntz" date="1424460795"]I have no antivirus software, and Windows "Defender" is disabled.[/quote]Hmm... I'm not sure then, sorry.
Try opening Qt Designer through the Qt Creator IDE -- is it slow there too?
-
This post is deleted! -
The delay sure is there; I have it here on some PC's. Some are better than others. But the delays vary from 5s on one PC to 30s and upto 2 minutes on another. Even on relatively clean PC's with almost no installations, the problem is there.
We're tracking the problem currently by delving into the source code. At the start, there is a scan taking place of the Qt*.dll directory and the .exe directory (at least). Probably looking for possible plugins. One of the calls taking place is QT_FSTAT, which goes into a qfilesystemengine_win.cpp function and does something of an fstat(), namely GetFileAttributesEx().
Here, at some point, it introduces a delay of ~20 seconds almost everytime (on my Win7 machine). It's not really Qt related it seems, or perhaps it is. The call is into Win32, and we'll check it out if we can tweak some of the input parameters to get it to work. One thing I see is that the output buffer of the call is uninitialized. Perhaps Windows uses something after all from the output buffer, and now & then breaks on some garbage.
This is using Qt 5.3.0 IIRC. More tomorrow hopefully, if we can get the call to behave.
Turning Windows Defender/MSE on/off has no effect. I see the problem on at least 3 different PC's with different backgrounds, all running Windows 7 64 bits though. -
Ok, this is awkward but hopefully others will benefit from this discovery; the reason why this was slow was because there were shortcuts to the network. So we had a shortcut file pointing to this 10.1.90.121 UNC file, and that PC didn't exist in the network. So it was just a hang on this file while Windows was trying to reach the machine. Still, it had us boggled for quite a bit of time.
We might delve a bit further to see how Qt handles UNC files it encounters, because any network shortcut will be reason for possibly quite long delays. I'd rather not scan directories anyway.
-
This post is deleted! -
@rvangaal it worked for me - Thank you!!