[Interest] Loader refresh

Bo Thorsen bo at vikingsoft.eu
Mon Sep 14 09:11:07 CEST 2015


Hi md,

I don't know what it is you see, you just say it flickers. We use a lot 
of Loader objects for customer code, and that doesn't flicker.

The only guess I have on how this could happen is if you have lots of 
bindings that keep propagating through the system.

For example, you mentioned a Text object that switches from one string 
to another. This is an indication that your code is the reason for those 
problems. When you activate the loader, set the proper text immediately, 
don't switch it later.

Anything like what you're trying to do below is an attempt to solve the 
symptom rather than the problem.

Den 11-09-2015 kl. 20:37 skrev md at rpzdesign.com:
> Someone must have come across this problem before.
>
> Loader->sourceComponent is too heavy and causes screen flicker.
>
> QMetaObject::invokeMethod(gobj,"doLayout",Qt::QueuedConnection) does not
> work on QQuickText class objects.

Bo Thorsen,
Director, Viking Software.

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu



More information about the Interest mailing list