[Interest] "Object destroyed during incubation"

ekke ekke at ekkes-corner.org
Wed May 31 18:25:34 CEST 2017


Am 31.05.17 um 18:05 schrieb Nuno Santos:
> Yes, it works! 
>
> I was setting it to asynchronous so it could take advantage of
> threaded loading. Is this a bad assumption?
no. this is my workaround for 
https://bugreports.qt.io/browse/QTBUG-50992
to use Loader async false

see also: https://bugreports.qt.io/browse/QTBUG-49224

ekke
>
> Thanks!
>
> Regards,
>
> Nuno
>
>> On 31 May 2017, at 16:36, ekke <ekke at ekkes-corner.org
>> <mailto: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
>>>
>>> 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
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org <mailto: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/a9167326/attachment.html>


More information about the Interest mailing list