Sorry for the late answer, I did profile the application and also
tried with only a black Rectangle {} in a test. Profiling shows
everything ready @140ms. It still feels like 1sec from click to
application show-up, other Qt/gtk apps doesn't feel that way. Is there
a way that the main.cpp renders just a window first and then puts the
ui into it?

2014-05-23 14:24 GMT+03:00 Torgeir Lilleskog <torgeir.lilles...@gmail.com>:
>
> On Fri, May 23, 2014 at 10:36 AM, <jen...@gmail.com> wrote:
>>
>>
>> Perhaps it is time spent populating the font database as we have had some
>> issues with that in the past.
>
>
> This is my suspicion also.
>
> I was able to reproduce the slow startup in a Kubuntu setup. (Un)fortunately
> I also has started an upgrade to Kubuntu trusty 14.04 at the same time and
> when I got back to profiling it I couldn't reproduce it anymore.
> I put a qDebug() output at the start of main() and saw messages from
> fontconfig appear ~1s after.
>
> The errors that I saw wrt fontconfig were gone after the Kubuntu upgrade.
>
> Best regards,
> - Torgeir
>
>
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to