[Interest] "Object destroyed during incubation"

Nuno Santos nunosantos at imaginando.pt
Wed May 31 18:05:23 CEST 2017


Yes, it works! 

I was setting it to asynchronous so it could take advantage of threaded loading. Is this a bad assumption?

Thanks!

Regards,

Nuno

> On 31 May 2017, at 16:36, ekke <ekke at ekkes-corner.org> wrote:
> 
> asynchronous: false should help
> 
> ekke
> 
> Am 31.05.17 um 17:21 schrieb Nuno Santos:
>> Hi,
>> 
>> I was long waiting for Qt 5.9 to have a fix for the following bug:
>> 
>> https://bugreports.qt.io/browse/QTBUG-50992 <https://bugreports.qt.io/browse/QTBUG-50992>
>> 
>> Today I have installed the latest version of Qt 5.9 and the problem remains. I was using this in the way below before this bug showed up on Qt 5.7.1
>> 
>> SplashView {
>>     id: splash
>>     width: window.width
>>     height: window.height
>>     onReady: loader.source = Qt.resolvedUrl("MainView.qml")
>> }
>> 
>> Loader {
>>     id: loader
>>     anchors.fill: parent
>>     asynchronous: true
>>     visible: status == Loader.Ready
>>     onLoaded: {
>>         splash.visible = false
>>         splash.destroy()
>> 
>>         controller.loaded=true
>>     }
>> }
>> 
>> I still can’t use this….
>> 
>> Any ideas?
>> 
>> Regards,
>> 
>> Nuno
>> 
>> 
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170531/582d6bfe/attachment.html>


More information about the Interest mailing list