[Interest] Constructor of QPrinter takes 25-50 seconds to execute

Syam Krishnan syamcr at gmail.com
Fri Nov 27 02:27:17 CET 2015


On 11/25/2015 11:03 PM, william.crocker at analog.com wrote:
> On 11/25/2015 12:32 PM, william.crocker at analog.com wrote:
>>
>>>
>>> I am wondering if this problem can happen again. What can possibly 
>>> cause
>>> QPrinter constructor to get stuck for such a long time?
>>>
>>
>> For me Qt was scanning the network, building up the list of
>> available printers. On a campus of 6 buildings and umpteen printers,
>> that took a noticeable amount of time. But, I think was only once
>> per run of the app. That was also on older releases. I use 4.8.7
>> and I think that has been fixed. If you are using a newer version
>> it would not surprise me if the problem has returned.
>>
>
> Run it in the debugger and interrupt,
> It should be obvious what it is doing.

I haven't been able to reproduce this problem :-(
Everything seems to be fine now.


Syam



More information about the Interest mailing list