[Qt-interest] Qt 4.6.3 QApplication constructor (Windows 7) EXTREMELY slow?

Trond Kjernåsen trond.kjernasen at nokia.com
Fri Oct 8 11:03:28 CEST 2010


On 10/07/2010 03:43 PM, Paul Miller wrote:
> On 10/7/2010 2:47 AM, Kai Koehne wrote:
>> On 10/7/2010 9:23 AM, ext Harri Pasanen wrote:
>>> Have you ruled out network problems? I've often seem similar
>>> "inexplicable"
>>> behavior when some network path (remote share) is being accessed.
>>>
>>> For instance python startup from a network share is often a no-no, as it
>>> crawls through the python path. Qt plugin paths could well trigger
>>> the same
>>> symptoms.
>>
>> http://bugreports.qt.nokia.com/browse/QTBUG-10106 might also be the
>> issue if network access is involved.
>
> Interesting, but my code itself is not doing any network stuff. It's the
> QApplication() constructor that is taking this long.
>
> Does QApplication() in 4.6.x do some basic network junk during
> initialization that 4.5.x didn't? 4.5 appears to be unaffected.

Take a look at this: http://bugreports.qt.nokia.com/browse/QTBUG-11309
Gesture support was added in 4.6, which would make this a likely 
candidate for the problem.

--
Trond K.



More information about the Qt-interest-old mailing list